Skip to content

Commit 9960f52

Browse files
make sure .pc files are ceated right
1 parent 15a780e commit 9960f52

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6254,7 +6254,11 @@ LIBPYTHON=''
62546254
# On Android, OS/2 and Cygwin the shared libraries must be linked with libpython.
62556255
if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MACHDEP" = "cygwin" || test "$MACHDEP" = "os2knix"); then
62566256
MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(LDLIBRARY)"
6257+
if ( test "$MACHDEP" = "os2knix"); then
6258+
LIBPYTHON=`echo -lpython${VERSION}${ABIFLAGS}`
6259+
else
62576260
LIBPYTHON="\$(BLDLIBRARY)"
6261+
fi
62586262
fi
62596263

62606264
# On iOS the shared libraries must be linked with the Python framework

0 commit comments

Comments
 (0)