Skip to content

Commit f061147

Browse files
committed
Passing modlibs in python3-config
This is so that programs that link libpython3.12 will have correct flags for libraries that libpython depends on.
1 parent b4024e7 commit f061147

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Misc/python-config.sh.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ LIBM="@LIBM@"
4141
LIBC="@LIBC@"
4242
SYSLIBS="$LIBM $LIBC"
4343
ABIFLAGS="@ABIFLAGS@"
44-
LIBS="@LIBPYTHON@ @LIBS@ $SYSLIBS"
44+
LIBS="@LIBPYTHON@ @LIBS@ @MODLIBS@ $SYSLIBS"
4545
LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
4646
BASECFLAGS="@BASECFLAGS@"
4747
LDLIBRARY="@LDLIBRARY@"

0 commit comments

Comments
 (0)