]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)
authorThomas A Caswell <tcaswell@gmail.com>
Thu, 21 Mar 2024 23:54:50 +0000 (19:54 -0400)
committerGitHub <noreply@github.com>
Thu, 21 Mar 2024 23:54:50 +0000 (00:54 +0100)
Replace with MODULE_LDFLAGS.

Misc/python-config.sh.in
Misc/python.pc.in

index eb02223ddcd2c3073e8e32442706d655a9439c95..c3c0b34fc1451d45b3c7f773c704e139f5da833b 100644 (file)
@@ -46,7 +46,7 @@ LIBM="@LIBM@"
 LIBC="@LIBC@"
 SYSLIBS="$LIBM $LIBC"
 ABIFLAGS="@ABIFLAGS@"
-LIBS="@LIBPYTHON@ @LIBS@ $SYSLIBS"
+LIBS="@MODULE_LDFLAGS@ @LIBS@ $SYSLIBS"
 LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
 BASECFLAGS="@BASECFLAGS@"
 LDLIBRARY="@LDLIBRARY@"
index 027dba38585a89ec9008e5dd23098a8bd4419dae..c2c740e82b1fde03b9fd9db9494fea1a96e57eb3 100644 (file)
@@ -9,5 +9,5 @@ Description: Build a C extension for Python
 Requires:
 Version: @VERSION@
 Libs.private: @LIBS@
-Libs: -L${libdir} @LIBPYTHON@
+Libs: -L${libdir} @MODULE_LDFLAGS@
 Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@