Skip to content

Commit eb294bf

Browse files
committed
Added python ctypes libs to python-configure
Even though we add the libs (libffi) in gdb-static build.sh the order is messed up and GDB doesn't recognize them. In order to combat this, we make Python pass the libraries when asked (Which we think it should have done already?).
1 parent f061147 commit eb294bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Misc/python-config.sh.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ LIBM="@LIBM@"
4141
LIBC="@LIBC@"
4242
SYSLIBS="$LIBM $LIBC"
4343
ABIFLAGS="@ABIFLAGS@"
44-
LIBS="@LIBPYTHON@ @LIBS@ @MODLIBS@ $SYSLIBS"
45-
LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ $SYSLIBS"
44+
LIBS="@LIBPYTHON@ @LIBS@ @LIBFFI_LIBS@ $SYSLIBS"
45+
LIBS_EMBED="-lpython${VERSION}${ABIFLAGS} @LIBS@ @LIBFFI_LIBS@ $SYSLIBS"
4646
BASECFLAGS="@BASECFLAGS@"
4747
LDLIBRARY="@LDLIBRARY@"
4848
OPT="@OPT@"

0 commit comments

Comments
 (0)