summaryrefslogtreecommitdiffstats
path: root/Misc
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
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')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS7
-rw-r--r--Misc/python.pc.in13
3 files changed, 21 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index e7b6257..e6b9469 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -622,6 +622,7 @@ Saskia van Rossum
Donald Wallace Rouse II
Liam Routt
Craig Rowland
+Clinton Roy
Paul Rubin
Sam Ruby
Audun S. Runde
diff --git a/Misc/NEWS b/Misc/NEWS
index ca3077a..de833bc 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -87,6 +87,13 @@ Extension Modules
- The _functools and _locale modules are now built into the libpython shared
library instead of as extension modules.
+Build
+-----
+
+- Issue #3585: Add pkg-config support. It creates a python-2.7.pc file
+ and a python3.pc symlink in the $(LIBDIR)/pkgconfig directory. Patch by
+ Clinton Roy.
+
Tests
-----
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@
+