Call correct strip for arm target
This commit is contained in:
parent
c76d87719d
commit
8110f2f221
1 changed files with 5 additions and 1 deletions
|
@ -129,9 +129,13 @@ def copy_license():
|
||||||
|
|
||||||
|
|
||||||
def strip_binaries():
|
def strip_binaries():
|
||||||
|
if get_target_arch() == 'arm':
|
||||||
|
strip = 'arm-linux-gnueabihf-strip'
|
||||||
|
else:
|
||||||
|
strip = 'strip'
|
||||||
for binary in TARGET_BINARIES[PLATFORM]:
|
for binary in TARGET_BINARIES[PLATFORM]:
|
||||||
if binary.endswith('.so') or '.' not in binary:
|
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():
|
def copy_system_libraries():
|
||||||
|
|
Loading…
Reference in a new issue