Skip to content

Commit 651a188

Browse files
author
Mark W. Alexander
committed
NDK 15 (and 14) has langinfo.h but doesn't define nl_langinfo
Discussed here regarding Python3 This patch stuffs the configure setting into the environment to disable the search for langinfo.h
1 parent bbad205 commit 651a188

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pythonforandroid/recipes/python2/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ def do_python_build(self, arch):
111111
f = 'LDFLAGS'
112112
env[f] = env[f] + l if f in env else l
113113

114+
# NDK has langinfo.h but doesn't define nl_langinfo()
115+
env['ac_cv_header_langinfo_h'] = 'no'
114116
configure = sh.Command('./configure')
115117
# AND: OFLAG isn't actually set, should it be?
116118
shprint(configure,

0 commit comments

Comments
 (0)