Skip to content

Commit f50419a

Browse files
committed
Work around broken pc file
python#138800
1 parent 5071b93 commit f50419a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6748,6 +6748,10 @@ LIBPYTHON=''
67486748
if test "$PY_ENABLE_SHARED" = "1" && ( test -n "$ANDROID_API_LEVEL" || test "$MACHDEP" = "cygwin" || test "$MACHDEP" = "win32"); then
67496749
MODULE_DEPS_SHARED="$MODULE_DEPS_SHARED \$(LDLIBRARY)"
67506750
LIBPYTHON="\$(BLDLIBRARY)"
6751+
LIBPYTHON="$BLDLIBRARY"
6752+
LIBPYTHON=$(echo "$LIBPYTHON" | sed "s/\$(LDVERSION)/$LDVERSION/g")
6753+
LIBPYTHON=$(echo "$LIBPYTHON" | sed "s/\$(VERSION)/$VERSION/g")
6754+
LIBPYTHON=$(echo "$LIBPYTHON" | sed "s/\$(ABIFLAGS)/$ABIFLAGS/g")
67516755
fi
67526756

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

0 commit comments

Comments
 (0)