* Conditionally link against openmp, on not-darwin

This commit is contained in:
Matthew Honnibal 2016-02-05 12:19:51 +01:00
parent 6d58451a4d
commit add8f07f61

View File

@ -79,6 +79,9 @@ if sys.platform.startswith('darwin'):
compile_options['other'].append('-mmacosx-version-min=10.8')
compile_options['other'].append('-stdlib=libc++')
link_options['other'].append('-lc++')
else:
compile_options['other'].append('-fopenmp')
link_options['other'].append('-fopenmp')
class build_ext_options: