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 9edf05a commit b3c221aCopy full SHA for b3c221a
Misc/python.pc.in
@@ -9,5 +9,5 @@ Description: Build a C extension for Python
9
Requires:
10
Version: @VERSION@
11
Libs.private: @LIBS@
12
-Libs:
+Libs: -L${libdir} -lpython@VERSION@@ABIFLAGS@
13
Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@
configure.ac
@@ -5973,7 +5973,7 @@ AC_MSG_RESULT($LDVERSION)
5973
5974
# On Android and Cygwin the shared libraries must be linked with libpython.
5975
AC_SUBST(LIBPYTHON)
5976
-if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin"; then
+if test -n "$ANDROID_API_LEVEL" -o "$MACHDEP" = "cygwin" -o "$MACHDEP" = "win32"; then
5977
LIBPYTHON="-lpython${VERSION}${ABIFLAGS}"
5978
else
5979
LIBPYTHON=''
0 commit comments