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 d84a2c8 commit 2dab5aeCopy full SHA for 2dab5ae
pythonforandroid/recipes/python3/__init__.py
@@ -119,6 +119,8 @@ def build_arch(self, arch):
119
# bpo-30386 Makefile system.
120
logger.warning('Doing some hacky stuff to link properly')
121
lib_dir = join(sysroot, 'usr', 'lib')
122
+ if arch.arch == 'x86_64':
123
+ lib_dir = join(sysroot, 'usr', 'lib64')
124
env['LDFLAGS'] += ' -L{}'.format(lib_dir)
125
shprint(sh.cp, join(lib_dir, 'crtbegin_so.o'), './')
126
shprint(sh.cp, join(lib_dir, 'crtend_so.o'), './')
0 commit comments