diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-07-30 02:58:56 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-07-30 04:24:17 +0300 |
| commit | 13ecfc35395446279dfa115ac50007d487257a98 (patch) | |
| tree | ab414a6132918c5f0852a9df6e13f2613d5ce65c /setup.py | |
| parent | a5986a99b260f38e1329d7156e1ae9bb4cb3678c (diff) | |
| download | pytdeextensions-13ecfc35.tar.gz pytdeextensions-13ecfc35.zip | |
split() CXX value from python config var or env
This fixes FTBFS caused by last commit (5e40676)
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -161,7 +161,7 @@ class BuildLibpythonize(Command): cmdlist.append("--tag=CXX") # Find the compiler and flags - cxx = sysconfig.get_config_var("CXX") or os.environ.get("CXX") or "c++" + cxx = sysconfig.get_config_var("CXX").split() or os.environ.get("CXX").split() or ["c++"] cxxflags = [] # Use python's CFLAGS cflags = (sysconfig.get_config_var("CFLAGS")) @@ -173,7 +173,7 @@ class BuildLibpythonize(Command): if os.environ.get("CXXFLAGS"): cxxflags.extend(os.environ["CXXFLAGS"].split()) - cmdlist.append(cxx) + cmdlist.extend(cxx) # cc_flags cmdlist.append("-c") |
