mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
3ba7743b06
In commit 254b309c80
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.
Automerge-Triggered-By: GH:gpshead
14 lines
292 B
PkgConfig
14 lines
292 B
PkgConfig
# See: man pkg-config
|
|
prefix=@prefix@
|
|
exec_prefix=@exec_prefix@
|
|
libdir=@libdir@
|
|
includedir=@includedir@
|
|
|
|
Name: Python
|
|
Description: Build a C extension for Python
|
|
Requires:
|
|
Version: @VERSION@
|
|
Libs.private: @LIBS@
|
|
Libs: -L${libdir} @LIBPYTHON@
|
|
Cflags: -I${includedir}/python@VERSION@@ABIFLAGS@
|