remove -framework for OSX, closes issue #4
This commit is contained in:
parent
d6fdd31883
commit
5a5b38f130
1 changed files with 1 additions and 3 deletions
4
setup.py
4
setup.py
|
|
@ -125,10 +125,8 @@ def call_setup(llvm_config):
|
|||
extra_link_args = ["-fPIC"]
|
||||
if not ("openbsd" in sys.platform or "freebsd" in sys.platform):
|
||||
std_libs.append("dl")
|
||||
if "darwin" in sys.platform:
|
||||
if sys.platform == 'darwin':
|
||||
std_libs.append("ffi")
|
||||
extra_link_args += ['-framework', 'Python']
|
||||
|
||||
|
||||
ext_core = Extension(
|
||||
'llvm._core',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue