summaryrefslogtreecommitdiffstats
path: root/Misc/python.pc.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-24 20:23:57 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-24 20:23:57 (GMT)
commitf2caeed9c694ed584e26716a7ce55f8fd83554ca (patch)
treeadf2959bcc8b1995c210520bea3c6ee1d88c3a45 /Misc/python.pc.in
parent0b09c42ffec7b56b7f94c11d160ca083944c9cf8 (diff)
downloadcpython-f2caeed9c694ed584e26716a7ce55f8fd83554ca.zip
cpython-f2caeed9c694ed584e26716a7ce55f8fd83554ca.tar.gz
cpython-f2caeed9c694ed584e26716a7ce55f8fd83554ca.tar.bz2
Issue #3585: Add pkg-config support.
It creates a python-2.7.pc file and a python.pc symlink in the $(LIBDIR)/pkgconfig directory. Patch by Clinton Roy.
Diffstat (limited to 'Misc/python.pc.in')
-rw-r--r--Misc/python.pc.in13
1 files changed, 13 insertions, 0 deletions
diff --git a/Misc/python.pc.in b/Misc/python.pc.in
new file mode 100644
index 0000000..08481a9
--- /dev/null
+++ b/Misc/python.pc.in
@@ -0,0 +1,13 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Python
+Description: Python library
+Requires:
+Version: @VERSION@
+Libs.private: @LIBS@
+Libs: -L${libdir} -lpython@VERSION@
+Cflags: -I${includedir}/python@VERSION@
+