summaryrefslogtreecommitdiffstats
path: root/Misc/python.pc.in
Commit message (Collapse)AuthorAgeFilesLines
* gh-116622: Rename build variable MODULE_LDFLAGS back to LIBPYTHON (#122764)Malcolm Smith2024-08-081-1/+1
| | | (LIBPYTHON was renamed MODULE_LDFLAGS in commit 7f5e3f04f.)
* gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)Thomas A Caswell2024-03-211-1/+1
| | | Replace with MODULE_LDFLAGS.
* gh-99942: python.pc on android/cygwin should link to libpython per ↵Eli Schwartz2023-02-221-1/+1
| | | | | | | | | configure.ac (GH-100356) In commit 254b309c801f82509597e3d7d4be56885ef94c11 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
* bpo-36721: Add --embed option to python-config (GH-13500)Victor Stinner2019-05-231-3/+3
| | | | | | | | | | | | | | | | | | | | | To embed Python into an application, a new --embed option must be passed to "python3-config --libs --embed" to get "-lpython3.8" (link the application to libpython). To support both 3.8 and older, try "python3-config --libs --embed" first and fallback to "python3-config --libs" (without --embed) if the previous command fails. Add a pkg-config "python-3.8-embed" module to embed Python into an application: "pkg-config python-3.8-embed --libs" includes "-lpython3.8". To support both 3.8 and older, try "pkg-config python-X.Y-embed --libs" first and fallback to "pkg-config python-X.Y --libs" (without --embed) if the previous command fails (replace "X.Y" with the Python version). On the other hand, "pkg-config python3.8 --libs" no longer contains "-lpython3.8". C extensions must not be linked to libpython (except on Android, case handled by the script); this change is backward incompatible on purpose. "make install" now also installs "python-3.8-embed.pc".
* Final patch for issue 9807.Barry Warsaw2010-11-241-2/+2
|
* One more change for issue 9807, by Matthias Klose.Barry Warsaw2010-10-181-1/+1
| | | | | This adds $ABIFLAGS to the static library, since it should match the shared library name. Also, include the abiflags in python-config --libs.
* Merged revisions 72898 via svnmerge fromAntoine Pitrou2009-05-241-0/+13
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. ........