1
0
mirror of https://github.com/python/cpython synced 2024-07-08 22:50:44 +00:00

gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)

Replace with MODULE_LDFLAGS.
This commit is contained in:
Thomas A Caswell 2024-03-21 19:54:50 -04:00 committed by GitHub
parent 3ec57307e7
commit c4bf58a14f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View 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@"

View 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@