We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dab5ae commit 9429fefCopy full SHA for 9429fef
pythonforandroid/recipes/python3/__init__.py
@@ -100,7 +100,7 @@ def build_arch(self, arch):
100
hostpython_dir=self.get_recipe('hostpython3', self.ctx).get_path_to_python(),
101
old_path=env['PATH'])
102
103
- ndk_flags = ('--sysroot={ndk_sysroot} -D__ANDROID_API__={android_api} '
+ ndk_flags = ('-fPIC --sysroot={ndk_sysroot} -D__ANDROID_API__={android_api} '
104
'-isystem {ndk_android_host}').format(
105
ndk_sysroot=join(self.ctx.ndk_dir, 'sysroot'),
106
android_api=self.ctx.ndk_api,
0 commit comments