We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 178d552 commit 7a515d0Copy full SHA for 7a515d0
pythonforandroid/bootstrap.py
100644
100755
@@ -263,11 +263,11 @@ def strip_libraries(self, arch):
263
info('Python was loaded from CrystaX, skipping strip')
264
return
265
env = arch.get_env()
266
- strip = which('arm-linux-androideabi-strip', env['PATH'])
+ strip = env['STRIP'].split(' ')[0]
267
if strip is None:
268
warning('Can\'t find strip in PATH...')
269
270
- strip = sh.Command(strip)
+ strip = sh.Command(strip).bake('--strip-unneeded')
271
272
libs_dir = join(self.dist_dir, '_python_bundle',
273
'_python_bundle', 'modules')
0 commit comments