File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ def build_arch(self, arch):
25
25
dst_dir = join (self .get_build_dir (arch .arch ), 'dist' )
26
26
shprint (
27
27
sh .Command ('./configure' ),
28
- '--host=arm-linux-androideabi' ,
28
+ '--host={}' . format ( arch . command_prefix ) ,
29
29
'--enable-shared' ,
30
30
'--with-ssl={}' .format (openssl_dir ),
31
31
'--prefix={}' .format (dst_dir ),
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def build_arch(self, arch):
13
13
env = self .get_recipe_env (arch )
14
14
flags = [
15
15
'--with-sysroot=' + arch .ndk_platform ,
16
- '--host=' + arch .toolchain_prefix ,
16
+ '--host=' + arch .command_prefix ,
17
17
]
18
18
configure = sh .Command ('./configure' )
19
19
shprint (configure , * flags , _env = env )
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ def build_arch(self, arch):
19
19
shprint (sh .Command ('./autogen.sh' ), _env = env )
20
20
shprint (
21
21
sh .Command ('./configure' ),
22
- '--host=' + arch .toolchain_prefix ,
22
+ '--host=' + arch .command_prefix ,
23
23
'--prefix=' + self .ctx .get_python_install_dir (arch .arch ),
24
24
'--enable-shared' ,
25
25
'--enable-module-recovery' ,
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def build_arch(self, arch):
22
22
env = self .get_recipe_env (arch )
23
23
flags = [
24
24
'--with-sysroot=' + arch .ndk_platform ,
25
- '--host=' + arch .toolchain_prefix ,
25
+ '--host=' + arch .command_prefix ,
26
26
]
27
27
configure = sh .Command ('./configure' )
28
28
shprint (configure , * flags , _env = env )
You can’t perform that action at this time.
0 commit comments