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):
3535 '--without-documentation' ,
3636 '--prefix={}' .format (prefix ),
3737 '--with-libsodium=no' ,
38+ '--disable-libunwind' ,
3839 _env = env )
3940 shprint (sh .make , _env = env )
4041 shprint (sh .make , 'install' , _env = env )
@@ -72,8 +73,8 @@ def get_recipe_env(self, arch):
7273 env ['CXXFLAGS' ] += ' -lgnustl_shared'
7374 env ['LDFLAGS' ] += ' -L{}/sources/cxx-stl/gnu-libstdc++/{}/libs/{}' .format (
7475 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 )
7778 return env
7879
7980
You can’t perform that action at this time.
0 commit comments