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 /Makefile.pre.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 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index 174b12c..1cb8a59 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -104,6 +104,8 @@ PY_LDFLAGS_NODIST=$(CONFIGURE_LDFLAGS_NODIST) $(LDFLAGS_NODIST) NO_AS_NEEDED= @NO_AS_NEEDED@ SGI_ABI= @SGI_ABI@ CCSHARED= @CCSHARED@ +# LINKFORSHARED are the flags passed to the $(CC) command that links +# the python executable -- this is only needed for a few systems LINKFORSHARED= @LINKFORSHARED@ ARFLAGS= @ARFLAGS@ # Extra C flags added for building the interpreter object files. |