Path: blob/main/python/cpython/src/patches/10-setuptools-c++.patch
1067 views
--- native/lib/python3.11/site-packages/setuptools/_distutils/unixccompiler.py 2022-09-17 12:18:23.000000000 -07001+++ wasm/lib/python3.11/site-packages/setuptools/_distutils/unixccompiler.py 2022-09-19 16:52:33.000000000 -07002@@ -245,7 +245,10 @@3building_exe = target_desc == CCompiler.EXECUTABLE4linker = (self.linker_exe if building_exe else self.linker_so)[:]56- if target_lang == "c++" and self.compiler_cxx:7+ # For python-wasm the following completely messes up our8+ # use of wasm-ld; just using "zig cc" turns out to work fine9+ # with C++ code.10+ if False and target_lang == "c++" and self.compiler_cxx:11env, linker_ne = _split_env(linker)12aix, linker_na = _split_aix(linker_ne)13_, compiler_cxx_ne = _split_env(self.compiler_cxx)141516