summaryrefslogtreecommitdiff
path: root/Misc/python-config.sh.in
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36508: python-config don't export LINKFORSHARED (GH-12661) (GH-12748)Miss Islington (bot)2019-04-161-6/+1
| | | | | | | | python-config --ldflags no longer includes flags of the LINKFORSHARED variable. The LINKFORSHARED variable must only be used to build executables. (cherry picked from commit e65f01f78d7bda3013fc5be485afa87ff56511d9) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* closes bpo-22140: Prevent double substitution of prefix in python-config.sh ↵Michał Górny2017-09-261-12/+13
| | | | | | | | | | | | | | | | | | | (#3769) Fix the logic in python-config.sh to avoid attempting to substitute prefix in a variable that might have already been subject to substitution. This e.g. happened if @exec_prefix@ was defined as "${prefix}" (which is the default of the configure script) -- in which case the exec_prefix_build variable was initialized with already-subtituted prefix, and then another round of substitution was performed which might have resulted in duplicate prefix. To avoid that, rename the variables so that the variables matching likely configure names (prefix, exec_prefix) retain their original values and a '_real' suffix is used for the real values of prefix. Furthermore, replace the unnecessary prefix and exec_prefix substitutions with direct prefix_real references since the sed always replaced the whole string anyway by design.
* - Issue #25440: Fix output of python-config --extension-suffix.doko@ubuntu.com2015-10-191-1/+1
|
* - Issue #18096: Fix library order returned by python-config.doko@ubuntu.com2014-10-021-1/+1
|
* - Issue #18257: Fix readlink usage in python-config. Install the pythondoko@ubuntu.com2013-08-011-2/+7
| | | | version again on Darwin.
* - Issue #16235: Implement python-config as a shell script.doko@python.org2013-01-261-0/+106