summaryrefslogtreecommitdiff
path: root/numpy/core
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2023-04-16 22:23:38 +0100
committerRalf Gommers <ralf.gommers@gmail.com>2023-04-16 22:36:03 +0100
commit0a0240bcdad5daa0b84781719b3f8a002ef0f82b (patch)
tree4049542c8c4dea20a4c14c4e783cc1e22787c23d /numpy/core
parentf5ff446c49e21411bac2320cd1d962debd9d1abf (diff)
downloadnumpy-0a0240bcdad5daa0b84781719b3f8a002ef0f82b.tar.gz
BLD: use the C++ linker to link `_multiarray_umath.so`
This gets rid of undefined symbol issues for `assert`. Closes gh-23122 Closes gh-23595
Diffstat (limited to 'numpy/core')
-rw-r--r--numpy/core/setup.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 680c2a5f6..b3ca1557b 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -1010,9 +1010,6 @@ def configuration(parent_package='',top_path=None):
svml_objs.sort()
config.add_extension('_multiarray_umath',
- # Forcing C language even though we have C++ sources.
- # It forces the C linker and don't link C++ runtime.
- language = 'c',
sources=multiarray_src + umath_src +
common_src +
[generate_config_h,