File tree Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Expand file tree Collapse file tree 2 files changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,6 @@ def get_recipe_env(self, arch=None):
38
38
ndk_dir = self .ctx .ndk_platform
39
39
ndk_lib_dir = os .path .join (ndk_dir , 'usr' , 'lib' )
40
40
env ['LDFLAGS' ] += ' -L{}' .format (ndk_lib_dir )
41
- env ['LDFLAGS' ] += " --sysroot={}" .format (self .ctx .ndk_platform )
42
41
env ['PYTHONPATH' ] = ':' .join ([
43
42
self .ctx .get_site_packages_dir (),
44
43
env ['BUILDLIB_PATH' ],
Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ def get_recipe_env(self, arch):
14
14
env ['PYTHON_ROOT' ] = self .ctx .get_python_install_dir ()
15
15
env ['LDFLAGS' ] += " -shared -llog"
16
16
env ['LDFLAGS' ] += ' -L{}' .format (join (self .ctx .ndk_platform , 'usr' , 'lib' ))
17
- env ['LDFLAGS' ] += " --sysroot={}" .format (self .ctx .ndk_platform )
18
17
env ['LIBS' ] = env .get ('LIBS' , '' ) + ' -landroid'
19
18
return env
20
19
You can’t perform that action at this time.
0 commit comments