diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-04-09 16:12:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-09 16:12:44 (GMT) |
commit | e65f01f78d7bda3013fc5be485afa87ff56511d9 (patch) | |
tree | 01b62d53ee1489e18155a1fb183b4a488b8d09fc /Misc/python-config.in | |
parent | 2ee077f7955e0349074f16a7afee40b4914619f7 (diff) | |
download | cpython-e65f01f78d7bda3013fc5be485afa87ff56511d9.zip cpython-e65f01f78d7bda3013fc5be485afa87ff56511d9.tar.gz cpython-e65f01f78d7bda3013fc5be485afa87ff56511d9.tar.bz2 |
bpo-36508: python-config don't export LINKFORSHARED (GH-12661)
python-config --ldflags no longer includes flags of the LINKFORSHARED
variable. The LINKFORSHARED variable must only be used to build
executables.
Diffstat (limited to 'Misc/python-config.in')
-rw-r--r-- | Misc/python-config.in | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Misc/python-config.in b/Misc/python-config.in index e13da75..7144152 100644 --- a/Misc/python-config.in +++ b/Misc/python-config.in @@ -55,8 +55,6 @@ for opt in opt_flags: if opt == '--ldflags': if not getvar('Py_ENABLE_SHARED'): libs.insert(0, '-L' + getvar('LIBPL')) - if not getvar('PYTHONFRAMEWORK'): - libs.extend(getvar('LINKFORSHARED').split()) print(' '.join(libs)) elif opt == '--extension-suffix': |