Path: blob/main/python/py-setuptools/src/patches/01-c++.patch
1067 views
--- native/setuptools/_distutils/unixccompiler.py 2022-11-30 22:02:141+++ wasm/setuptools/_distutils/unixccompiler.py 2022-11-30 22:02:542@@ -253,7 +253,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