We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f126bfe commit 8d9ad11Copy full SHA for 8d9ad11
setup.py
@@ -36,9 +36,7 @@
36
37
38
# add platform dependant optional compilation argument
39
-if sys.platform.startswith('darwin') and not os.environ.get('POT_LEAVE_CC', ''):
40
- os.environ["CC"] = "g++"
41
- os.environ["CXX"] = "g++"
+if sys.platform.startswith('darwin'):
42
opt_arg.append("-stdlib=libc++")
43
sdk_path = subprocess.check_output(['xcrun', '--show-sdk-path'])
44
os.environ['CFLAGS'] = '-isysroot "{}"'.format(sdk_path.rstrip().decode("utf-8"))
0 commit comments