Fix wrong order of arguments to shutil.copy in wscript

This commit is contained in:
Daan De Meyer 2018-02-05 20:01:28 +01:00 committed by Jacob Dufault
parent a3c374d368
commit 2117d03aba

View File

@ -309,7 +309,7 @@ def configure(ctx):
dst = os.path.join(ctx.path.get_bld().abspath(), 'lib', name, 'bin', 'libclang.dll') dst = os.path.join(ctx.path.get_bld().abspath(), 'lib', name, 'bin', 'libclang.dll')
os.symlink(dst, out_clang_dll) os.symlink(dst, out_clang_dll)
except (OSError, NotImplementedError): except (OSError, NotImplementedError):
shutil.copy(dst, out_clang_dll) shutil.copy(out_clang_dll, dst)
else: else:
ctx.env.rpath = ctx.env['LIBPATH_clang'] ctx.env.rpath = ctx.env['LIBPATH_clang']