Skip to content

Commit c4bf58a

Browse files
authored
gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)
Replace with MODULE_LDFLAGS.
1 parent 3ec5730 commit c4bf58a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Misc/python-config.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ LIBM="@LIBM@"
4646
LIBC="@LIBC@"
4747
SYSLIBS="$LIBM $LIBC"
4848
ABIFLAGS="@ABIFLAGS@"
49-
LIBS="@LIBPYTHON@ @LIBS@ $SYSLIBS"
49+
LIBS="@MODULE_LDFLAGS@ @LIBS@ $SYSLIBS"
5050
LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
5151
BASECFLAGS="@BASECFLAGS@"
5252
LDLIBRARY="@LDLIBRARY@"

Misc/python.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Description: Build a C extension for Python
99
Requires:
1010
Version: @VERSION@
1111
Libs.private: @LIBS@
12-
Libs: -L${libdir} @LIBPYTHON@
12+
Libs: -L${libdir} @MODULE_LDFLAGS@
1313
Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@

0 commit comments

Comments
 (0)