mirror of https://github.com/python/cpython
gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)
Replace with MODULE_LDFLAGS.
This commit is contained in:
parent
3ec57307e7
commit
c4bf58a14f
|
@ -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@"
|
||||||
|
|
|
@ -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@
|
||||||
|
|
Loading…
Reference in New Issue