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@" LIBC="@LIBC@"
SYSLIBS="$LIBM $LIBC" SYSLIBS="$LIBM $LIBC"
ABIFLAGS="@ABIFLAGS@" ABIFLAGS="@ABIFLAGS@"
LIBS="@LIBPYTHON@ @LIBS@ $SYSLIBS" LIBS="@MODULE_LDFLAGS@ @LIBS@ $SYSLIBS"
LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS" LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
BASECFLAGS="@BASECFLAGS@" BASECFLAGS="@BASECFLAGS@"
LDLIBRARY="@LDLIBRARY@" LDLIBRARY="@LDLIBRARY@"

View File

@ -9,5 +9,5 @@ Description: Build a C extension for Python
Requires: Requires:
Version: @VERSION@ Version: @VERSION@
Libs.private: @LIBS@ Libs.private: @LIBS@
Libs: -L${libdir} @LIBPYTHON@ Libs: -L${libdir} @MODULE_LDFLAGS@
Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@ Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@