Fix ffi link issue on darwin (Albert Mietus) (Issue #29)
git-svn-id: http://llvm-py.googlecode.com/svn/trunk@95 8d1e9007-1d4e-0410-b67e-1979fd6579aa
This commit is contained in:
parent
60422c6057
commit
7df2fc911a
1 changed files with 2 additions and 0 deletions
2
setup.py
2
setup.py
|
|
@ -87,6 +87,8 @@ def call_setup(llvm_config):
|
|||
std_libs = [ 'pthread', 'm', 'stdc++' ]
|
||||
if not ("openbsd" in sys.platform or "freebsd" in sys.platform):
|
||||
std_libs.append("dl")
|
||||
if "darwin" in sys.platform:
|
||||
std_libs.append("ffi")
|
||||
|
||||
ext_core = Extension(
|
||||
'llvm._core',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue