Skip to content

Commit

Permalink
gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)
Browse files Browse the repository at this point in the history
Replace with MODULE_LDFLAGS.
  • Loading branch information
tacaswell committed Mar 21, 2024
1 parent 3ec5730 commit c4bf58a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Misc/python-config.sh.in
Expand Up @@ -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@"
Expand Down
2 changes: 1 addition & 1 deletion Misc/python.pc.in
Expand Up @@ -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@

0 comments on commit c4bf58a

Please sign in to comment.