diff options
author | Thomas A Caswell <tcaswell@gmail.com> | 2024-03-21 23:54:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 23:54:50 (GMT) |
commit | c4bf58a14f162557038a1535ca22c52b49d81d7b (patch) | |
tree | 7d7b87f56844f07573ac1f13b1e4245755bb2ae3 | |
parent | 3ec57307e70ee6f42410e844d3399bbd598917ba (diff) | |
download | cpython-c4bf58a14f162557038a1535ca22c52b49d81d7b.zip cpython-c4bf58a14f162557038a1535ca22c52b49d81d7b.tar.gz cpython-c4bf58a14f162557038a1535ca22c52b49d81d7b.tar.bz2 |
gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)
Replace with MODULE_LDFLAGS.
-rw-r--r-- | Misc/python-config.sh.in | 2 | ||||
-rw-r--r-- | Misc/python.pc.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in index eb02223..c3c0b34 100644 --- a/Misc/python-config.sh.in +++ b/Misc/python-config.sh.in @@ -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@" diff --git a/Misc/python.pc.in b/Misc/python.pc.in index 027dba3..c2c740e 100644 --- a/Misc/python.pc.in +++ b/Misc/python.pc.in @@ -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@ |