Skip to content

Commit ebb3927

Browse files
authored
proper --host for libsecp256k1, libogg, libvorbis, libcurl (kivy#2512)
1 parent 3a9bcab commit ebb3927

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

pythonforandroid/recipes/libcurl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def build_arch(self, arch):
2525
dst_dir = join(self.get_build_dir(arch.arch), 'dist')
2626
shprint(
2727
sh.Command('./configure'),
28-
'--host=arm-linux-androideabi',
28+
'--host={}'.format(arch.command_prefix),
2929
'--enable-shared',
3030
'--with-ssl={}'.format(openssl_dir),
3131
'--prefix={}'.format(dst_dir),

pythonforandroid/recipes/libogg/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def build_arch(self, arch):
1313
env = self.get_recipe_env(arch)
1414
flags = [
1515
'--with-sysroot=' + arch.ndk_platform,
16-
'--host=' + arch.toolchain_prefix,
16+
'--host=' + arch.command_prefix,
1717
]
1818
configure = sh.Command('./configure')
1919
shprint(configure, *flags, _env=env)

pythonforandroid/recipes/libsecp256k1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def build_arch(self, arch):
1919
shprint(sh.Command('./autogen.sh'), _env=env)
2020
shprint(
2121
sh.Command('./configure'),
22-
'--host=' + arch.toolchain_prefix,
22+
'--host=' + arch.command_prefix,
2323
'--prefix=' + self.ctx.get_python_install_dir(arch.arch),
2424
'--enable-shared',
2525
'--enable-module-recovery',

pythonforandroid/recipes/libvorbis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def build_arch(self, arch):
2222
env = self.get_recipe_env(arch)
2323
flags = [
2424
'--with-sysroot=' + arch.ndk_platform,
25-
'--host=' + arch.toolchain_prefix,
25+
'--host=' + arch.command_prefix,
2626
]
2727
configure = sh.Command('./configure')
2828
shprint(configure, *flags, _env=env)

0 commit comments

Comments
 (0)