summaryrefslogtreecommitdiff
path: root/Makefile.pre.in
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2019-04-09 18:12:44 +0200
committerGitHub <noreply@github.com>2019-04-09 18:12:44 +0200
commite65f01f78d7bda3013fc5be485afa87ff56511d9 (patch)
tree01b62d53ee1489e18155a1fb183b4a488b8d09fc /Makefile.pre.in
parent2ee077f7955e0349074f16a7afee40b4914619f7 (diff)
downloadcpython-git-e65f01f78d7bda3013fc5be485afa87ff56511d9.tar.gz
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.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 174b12c5de..1cb8a590d4 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.