mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
gh-99942: correct the pkg-config/python-config flags for cygwin/android
This commit is contained in:
parent
68bd8c5e2e
commit
226484e475
3 changed files with 4 additions and 2 deletions
|
@ -5759,7 +5759,7 @@ AC_MSG_RESULT($LDVERSION)
|
|||
|
||||
# On Android and Cygwin the shared libraries must be linked with libpython.
|
||||
AC_SUBST(LIBPYTHON)
|
||||
if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin"; then
|
||||
if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MACHDEP" = "cygwin"); then
|
||||
LIBPYTHON="-lpython${VERSION}${ABIFLAGS}"
|
||||
else
|
||||
LIBPYTHON=''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue