Skip to content

Commit 2dab5ae

Browse files
Update __init__.py
1 parent d84a2c8 commit 2dab5ae

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pythonforandroid/recipes/python3/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,8 @@ def build_arch(self, arch):
119119
# bpo-30386 Makefile system.
120120
logger.warning('Doing some hacky stuff to link properly')
121121
lib_dir = join(sysroot, 'usr', 'lib')
122+
if arch.arch == 'x86_64':
123+
lib_dir = join(sysroot, 'usr', 'lib64')
122124
env['LDFLAGS'] += ' -L{}'.format(lib_dir)
123125
shprint(sh.cp, join(lib_dir, 'crtbegin_so.o'), './')
124126
shprint(sh.cp, join(lib_dir, 'crtend_so.o'), './')

0 commit comments

Comments
 (0)