提交 a5b376dc authored 作者: nouiz's avatar nouiz

Merge pull request #1359 from bbudescu/bugfix

msvc doesn't understand -Wl,-rpath option
......@@ -456,7 +456,8 @@ def ldflags(libs=True, flags=False, libs_dir=False, include_dir=False):
elif flags and t1 == 'L':
#to find it when we load the compiled op if the env of the
#used is not well configured.
rval.append('-Wl,-rpath,' + t[2:])
if sys.platform != 'win32':
rval.append('-Wl,-rpath,' + t[2:])
return rval
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论