https://github.com/python/cpython/commit/c535a49e9260ad0fac022474f6381836051c9758
commit: c535a49e9260ad0fac022474f6381836051c9758
branch: main
author: Pablo Galindo Salgado <[email protected]>
committer: pablogsal <[email protected]>
date: 2024-08-25T21:01:58+01:00
summary:

gh-123297: Propagate LD_FLAGS to LDCXXSHARED in sysconfig (#123298)

files:
A Misc/NEWS.d/next/Build/2024-08-24-19-09-31.gh-issue-123297.fdtXoe.rst
M Makefile.pre.in

diff --git a/Makefile.pre.in b/Makefile.pre.in
index 1b34cb4da2ac45..46733d0cb44f72 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 00000000000000..d2c831b27be237
--- /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

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to