提交 6622cf3e authored 作者: Frederic Bastien's avatar Frederic Bastien

do the fix suggested in gh-5183. To support more spaces in path on windows.

上级 38a6331a
......@@ -2274,8 +2274,8 @@ class GCC_compiler(Compiler):
# improved loading times on most platforms (win32 is
# different, as usual).
cmd.append('-fvisibility=hidden')
cmd.extend(['-o', lib_filename])
cmd.append(cppfilename)
cmd.extend(['-o', '%s%s%s' % (path_wrapper, lib_filename, path_wrapper)])
cmd.append('%s%s%s' % (path_wrapper, cppfilename, path_wrapper))
cmd.extend(['-l%s' % l for l in libs])
# print >> sys.stderr, 'COMPILING W CMD', cmd
_logger.debug('Running cmd: %s', ' '.join(cmd))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论