From: Cheng Zhao Date: Thu, 2 Jul 2015 07:19:39 +0000 (+0000) Subject: Call correct strip for arm target X-Git-Tag: v0.29.0~3^2~3 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=8110f2f2213dac5be74efc46283604a1c16348eb;p=electron.git Call correct strip for arm target --- diff --git a/script/create-dist.py b/script/create-dist.py index da2efb3e..5d52234b 100755 --- a/script/create-dist.py +++ b/script/create-dist.py @@ -129,9 +129,13 @@ def copy_license(): def strip_binaries(): + if get_target_arch() == 'arm': + strip = 'arm-linux-gnueabihf-strip' + else: + strip = 'strip' for binary in TARGET_BINARIES[PLATFORM]: if binary.endswith('.so') or '.' not in binary: - execute(['strip', os.path.join(DIST_DIR, binary)]) + execute([strip, os.path.join(DIST_DIR, binary)]) def copy_system_libraries():