File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
pythonforandroid/recipes/boost Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 22from os .path import join , exists
33import sh
44
5- # This recipe creates a custom toolchain and bootstraps Boost from source to build Boost.Build
6- # including python bindings
5+ """
6+ This recipe creates a custom toolchain and bootstraps Boost from source to build Boost.Build
7+ including python bindings
8+ """
79class BoostRecipe (Recipe ):
810 version = '1.60.0'
911 # Don't forget to change the URL when changing the version
@@ -48,7 +50,7 @@ def build_arch(self, arch):
4850 join (self .ctx .get_libs_dir (arch .arch ), 'libgnustl_shared.so' ))
4951
5052 def select_build_arch (self , arch ):
51- return arch .arch .replace ('eabi' , '' )
53+ return arch .arch .replace ('eabi-v7a' , '' ). replace ( 'eabi ' , '' )
5254
5355 def get_recipe_env (self , arch ):
5456 env = super (BoostRecipe , self ).get_recipe_env (arch )
@@ -62,4 +64,5 @@ def get_recipe_env(self, arch):
6264 env ['TOOLCHAIN_PREFIX' ] = join (env ['CROSSHOME' ], 'bin' , env ['CROSSHOST' ])
6365 return env
6466
65- recipe = BoostRecipe ()
67+
68+ recipe = BoostRecipe ()
You can’t perform that action at this time.
0 commit comments