File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
pythonforandroid/recipes/libzmq Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ def build_arch(self, arch):
35
35
'--without-documentation' ,
36
36
'--prefix={}' .format (prefix ),
37
37
'--with-libsodium=no' ,
38
+ '--disable-libunwind' ,
38
39
_env = env )
39
40
shprint (sh .make , _env = env )
40
41
shprint (sh .make , 'install' , _env = env )
@@ -72,8 +73,8 @@ def get_recipe_env(self, arch):
72
73
env ['CXXFLAGS' ] += ' -lgnustl_shared'
73
74
env ['LDFLAGS' ] += ' -L{}/sources/cxx-stl/gnu-libstdc++/{}/libs/{}' .format (
74
75
self .ctx .ndk_dir , self .ctx .toolchain_version , arch )
75
- env ['CXXFLAGS' ] += ' --sysroot={}/platforms/android-{}/arch-arm ' .format (
76
- self .ctx .ndk_dir , self .ctx .ndk_api )
76
+ env ['CXXFLAGS' ] += ' --sysroot={}/platforms/android-{}/{} ' .format (
77
+ self .ctx .ndk_dir , self .ctx .ndk_api , arch . platform_dir )
77
78
return env
78
79
79
80
You can’t perform that action at this time.
0 commit comments