[issue35953] crosscompilation fails with clang on android
muhzi
report at bugs.python.org
Sun Feb 10 07:03:16 EST 2019
New submission from muhzi <air.oamyst517 at yahoo.com>:
Trying to cross compile python for android using NDK r19. but I keep facing a linker error.
x86_64-linux-android21-clang -pie -L~/Android/Sdk/ndk-bundle/platforms/android-21/arch-x86_64/usr/lib64 -Xlinker -export-dynamic -o python \
Modules/python.o \
-L. -lpython2.7 -ldl -lm
./libpython2.7.so: error: undefined reference to 'nl_langinfo'
clang: error: linker command failed with exit code 1 (use -v to see invocation)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35953>
_______________________________________
More information about the Python-bugs-list
mailing list