summaryrefslogtreecommitdiffstats
path: root/Misc/python.pc.in
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2009-05-24 20:39:11 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2009-05-24 20:39:11 (GMT)
commit2032722e514a20b5f5321f07427dc2cea6e0d634 (patch)
tree2e202609a73cf61fb274e99a1bb63234fb57d6a4 /Misc/python.pc.in
parent70ccd167de68397889039a6470ae5fdf6f73e248 (diff)
downloadcpython-2032722e514a20b5f5321f07427dc2cea6e0d634.zip
cpython-2032722e514a20b5f5321f07427dc2cea6e0d634.tar.gz
cpython-2032722e514a20b5f5321f07427dc2cea6e0d634.tar.bz2
Merged revisions 72898 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r72898 | antoine.pitrou | 2009-05-24 22:23:57 +0200 (dim., 24 mai 2009) | 6 lines 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@
+