diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-04-16 06:01:33 -0700 |
---|---|---|
committer | Victor Stinner <vstinner@redhat.com> | 2019-04-16 15:01:33 +0200 |
commit | cd46b09b0863c787dd54c433fae52bd8bdfaecd0 (patch) | |
tree | 987ea0adf52010f92bb8f8aa4564bfda48287ba0 /Makefile.pre.in | |
parent | 2815bf5b1f39b9f677135473392887a8d261fc97 (diff) | |
download | cpython-git-cd46b09b0863c787dd54c433fae52bd8bdfaecd0.tar.gz |
bpo-36508: python-config don't export LINKFORSHARED (GH-12661) (GH-12748)
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>
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 2d2e11f172..babe4e0416 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -106,6 +106,8 @@ NO_AS_NEEDED= @NO_AS_NEEDED@ LDLAST= @LDLAST@ 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. |