Skip to content

Commit 33b9698

Browse files
committed
pythongh-99942: fix regression in python.pc that broke linking on android/cygwin
In commit 254b309 a previous change to avoid linking to libpython was partially reverted for Android (and later Cygwin as well), to add back the link flags. This was applied to distutils and to python-config.sh, but not to python.pc. Add it back to python.pc as well.
1 parent 36a0b1d commit 33b9698

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Misc/python.pc.in‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ Description: Build a C extension for Python
99
Requires:
1010
Version: @VERSION@
1111
Libs.private: @LIBS@
12-
Libs:
12+
Libs: -L${libdir} @LIBPYTHON@
1313
Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@

0 commit comments

Comments
 (0)