mirror of https://github.com/explosion/spaCy.git
* Fix compilation for OSX
This commit is contained in:
parent
a7e6c5ac8f
commit
fc261195f7
5
setup.py
5
setup.py
|
@ -180,8 +180,9 @@ def main(modules, is_pypy):
|
||||||
language = "cpp"
|
language = "cpp"
|
||||||
includes = ['.', path.join(sys.prefix, 'include')]
|
includes = ['.', path.join(sys.prefix, 'include')]
|
||||||
if sys.platform.startswith('darwin'):
|
if sys.platform.startswith('darwin'):
|
||||||
compile_options['other'].append(['-mmacosx-version-min=10.8', '-stdlib=libc++'])
|
compile_options['other'].append('-mmacosx-version-min=10.8')
|
||||||
link_opions['other'].append('-lc++')
|
compile_options['other'].append('-stdlib=libc++')
|
||||||
|
link_options['other'].append('-lc++')
|
||||||
if use_cython:
|
if use_cython:
|
||||||
cython_setup(modules, language, includes)
|
cython_setup(modules, language, includes)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue