]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] [3.12] GH-113516: don't set `LDSHARED` when building for WASI (GH-115495)...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 15 Feb 2024 01:34:45 +0000 (02:34 +0100)
committerGitHub <noreply@github.com>
Thu, 15 Feb 2024 01:34:45 +0000 (17:34 -0800)
[3.12] GH-113516: don't set `LDSHARED` when building for WASI (GH-115495) (GH-115496)
(cherry picked from commit 0e4f73b8e457b1efa57b735205e8e85a3d11d9f2)

Co-authored-by: Brett Cannon <brett@python.org>
Misc/NEWS.d/next/Tools-Demos/2024-02-14-15-58-13.gh-issue-113516.TyIHWx.rst [new file with mode: 0644]
Tools/wasm/wasi-env

diff --git a/Misc/NEWS.d/next/Tools-Demos/2024-02-14-15-58-13.gh-issue-113516.TyIHWx.rst b/Misc/NEWS.d/next/Tools-Demos/2024-02-14-15-58-13.gh-issue-113516.TyIHWx.rst
new file mode 100644 (file)
index 0000000..0dd1128
--- /dev/null
@@ -0,0 +1 @@
+Don't set ``LDSHARED`` when building for WASI.
index 48908b02e60b960aed514d69ce87f5f835e3ccd7..e6c6fb2d8e47e75e188fee4cffc811beb618fe1c 100755 (executable)
@@ -55,7 +55,6 @@ if command -v ccache >/dev/null 2>&1; then
     CXX="ccache ${CXX}"
 fi
 
-LDSHARED="${WASI_SDK_PATH}/bin/wasm-ld"
 AR="${WASI_SDK_PATH}/bin/llvm-ar"
 RANLIB="${WASI_SDK_PATH}/bin/ranlib"