Skip to content

Commit 47daf05

Browse files
committed
add -tdlib=libc++ argument
1 parent d4847a8 commit 47daf05

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@
3939
sources=["ot/lp/emd_wrap.pyx", "ot/lp/EMD_wrapper.cpp"], # the Cython source and
4040
# additional C++ source files
4141
language="c++", # generate and compile C++ code,
42-
include_dirs=[numpy.get_include(),os.path.join(ROOT,'ot/lp')])),
42+
include_dirs=[numpy.get_include(),os.path.join(ROOT,'ot/lp')],
43+
extra_compile_args=["-stdlib=libc++"]
44+
)),
4345
platforms=['linux','macosx','windows'],
4446
download_url='https://github.com/rflamary/POT/archive/{}.tar.gz'.format(__version__),
4547
license = 'MIT',

0 commit comments

Comments
 (0)