提交 cc639be5 authored 作者: Bogdan Budescu's avatar Bogdan Budescu

msvc doesn't understand -Wl,-rpath option

上级 a2168c05
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论