From fc261195f7d3ab95f7aa90e0061e2bc606436942 Mon Sep 17 00:00:00 2001 From: Matthew Honnibal Date: Sun, 18 Oct 2015 17:19:07 +1100 Subject: [PATCH] * Fix compilation for OSX --- setup.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index f06be8104..56b403b95 100644 --- a/setup.py +++ b/setup.py @@ -180,8 +180,9 @@ def main(modules, is_pypy): language = "cpp" includes = ['.', path.join(sys.prefix, 'include')] if sys.platform.startswith('darwin'): - compile_options['other'].append(['-mmacosx-version-min=10.8', '-stdlib=libc++']) - link_opions['other'].append('-lc++') + compile_options['other'].append('-mmacosx-version-min=10.8') + compile_options['other'].append('-stdlib=libc++') + link_options['other'].append('-lc++') if use_cython: cython_setup(modules, language, includes) else: