Skip to content

Commit 7491c74

Browse files
committed
Remove --stdlib=libc++, which is specific for Clang on MacOS
1 parent 7902829 commit 7491c74

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -133,11 +133,6 @@ class BuildExt(build_ext):
133133
def build_extensions(self):
134134
compiler_type = self.compiler.compiler_type
135135

136-
if sys.platform == "darwin":
137-
if has_flag(self.compiler, "-stdlib=libc++"):
138-
self.c_opts["unix"].append("-stdlib=libc++")
139-
self.l_opts["unix"].append("-stdlib=libc++")
140-
141136
opts = self.c_opts.get(compiler_type, [])
142137
opts.append(cpp_flag(compiler_type, self.compiler))
143138

0 commit comments

Comments
 (0)