Skip to content

Commit b8d830a

Browse files
committed
Do not force C++ standard library. Compiler will choose on it's own
This patch fixes the typo in setup.py to ensure that the correct driver is used during linking. With this change, we don't need to specify the C++ standard library and this also fixes the build with MSVC.
1 parent ef71e3b commit b8d830a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def __str__(self):
3131
"src/version.cpp",
3232
"src/pybind11.cpp",
3333
],
34-
language="C++",
34+
language="c++",
3535
include_dirs=[
3636
os.environ.get("EIGEN_INCLUDE_DIR", "/usr/include/eigen3/"),
3737
# Path to pybind11 headers
@@ -40,7 +40,7 @@ def __str__(self):
4040
],
4141
extra_compile_args=["-std=c++14"],
4242
# no CGAL libraries necessary from CGAL 5.0 onwards
43-
libraries=["stdc++", "gmp", "mpfr"],
43+
libraries=["gmp", "mpfr"],
4444
)
4545
]
4646

0 commit comments

Comments
 (0)