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 2
2
from os .path import join , exists
3
3
import sh
4
4
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
+ """
7
9
class BoostRecipe (Recipe ):
8
10
version = '1.60.0'
9
11
# Don't forget to change the URL when changing the version
@@ -48,7 +50,7 @@ def build_arch(self, arch):
48
50
join (self .ctx .get_libs_dir (arch .arch ), 'libgnustl_shared.so' ))
49
51
50
52
def select_build_arch (self , arch ):
51
- return arch .arch .replace ('eabi' , '' )
53
+ return arch .arch .replace ('eabi-v7a' , '' ). replace ( 'eabi ' , '' )
52
54
53
55
def get_recipe_env (self , arch ):
54
56
env = super (BoostRecipe , self ).get_recipe_env (arch )
@@ -62,4 +64,5 @@ def get_recipe_env(self, arch):
62
64
env ['TOOLCHAIN_PREFIX' ] = join (env ['CROSSHOME' ], 'bin' , env ['CROSSHOST' ])
63
65
return env
64
66
65
- recipe = BoostRecipe ()
67
+
68
+ recipe = BoostRecipe ()
You can’t perform that action at this time.
0 commit comments