提交 d4135e7f authored 作者: Yoshua Bengio's avatar Yoshua Bengio

Commented code that added Mac's Library framework to linking option, because…

Commented code that added Mac's Library framework to linking option, because they broke compilation on my machine.
上级 f6094481
...@@ -625,8 +625,8 @@ def gcc_module_compile_str(module_name, src_code, location=None, include_dirs=[] ...@@ -625,8 +625,8 @@ def gcc_module_compile_str(module_name, src_code, location=None, include_dirs=[]
#DSE Patch 1 for supporting OSX frameworks; add -framework Python #DSE Patch 1 for supporting OSX frameworks; add -framework Python
if sys.platform=='darwin' : if sys.platform=='darwin' :
preargs.extend(['-undefined','dynamic_lookup']) preargs.extend(['-undefined','dynamic_lookup'])
if python_inc.count('Python.framework')>0 : #if python_inc.count('Python.framework')>0 :
preargs.extend(['-framework','Python']) # preargs.extend(['-framework','Python'])
workdir = location workdir = location
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论