From 2117d03aba03220d475bf4039b919a685c8c5e43 Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Mon, 5 Feb 2018 20:01:28 +0100 Subject: [PATCH] Fix wrong order of arguments to shutil.copy in wscript --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 496177ff..9eaa3800 100644 --- a/wscript +++ b/wscript @@ -309,7 +309,7 @@ def configure(ctx): dst = os.path.join(ctx.path.get_bld().abspath(), 'lib', name, 'bin', 'libclang.dll') os.symlink(dst, out_clang_dll) except (OSError, NotImplementedError): - shutil.copy(dst, out_clang_dll) + shutil.copy(out_clang_dll, dst) else: ctx.env.rpath = ctx.env['LIBPATH_clang']