From c535a49e9260ad0fac022474f6381836051c9758 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Salgado Date: Sun, 25 Aug 2024 21:01:58 +0100 Subject: [PATCH] gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (#123298) --- Makefile.pre.in | 2 +- .../next/Build/2024-08-24-19-09-31.gh-issue-123297.fdtXoe.rst | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 Misc/NEWS.d/next/Build/2024-08-24-19-09-31.gh-issue-123297.fdtXoe.rst diff --git a/Makefile.pre.in b/Makefile.pre.in index 1b34cb4da2a..46733d0cb44 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -168,7 +168,7 @@ SHLIB_SUFFIX= @SHLIB_SUFFIX@ EXT_SUFFIX= @EXT_SUFFIX@ LDSHARED= @LDSHARED@ $(PY_LDFLAGS) BLDSHARED= @BLDSHARED@ $(PY_CORE_LDFLAGS) -LDCXXSHARED= @LDCXXSHARED@ +LDCXXSHARED= @LDCXXSHARED@ $(PY_LDFLAGS) DESTSHARED= $(BINLIBDEST)/lib-dynload # List of exported symbols for AIX diff --git a/Misc/NEWS.d/next/Build/2024-08-24-19-09-31.gh-issue-123297.fdtXoe.rst b/Misc/NEWS.d/next/Build/2024-08-24-19-09-31.gh-issue-123297.fdtXoe.rst new file mode 100644 index 00000000000..d2c831b27be --- /dev/null +++ b/Misc/NEWS.d/next/Build/2024-08-24-19-09-31.gh-issue-123297.fdtXoe.rst @@ -0,0 +1,2 @@ +Propagate the value of ``LDFLAGS`` to ``LDCXXSHARED`` in :mod:`sysconfig`. +Patch by Pablo Galindo