From a396c359b7447c8fd27c562ccb942e0406b48050 Mon Sep 17 00:00:00 2001 From: n1nj4sec Date: Tue, 31 May 2016 19:48:05 +0200 Subject: [PATCH] auto add system's msvcr90 at build --- client/build_library_zip.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/client/build_library_zip.py b/client/build_library_zip.py index 074b1e12..c4b00478 100644 --- a/client/build_library_zip.py +++ b/client/build_library_zip.py @@ -17,10 +17,14 @@ if sys.argv[1]=="x86": arch="x86" print "copying installed python version to sources\\resources\\python27_x86.dll" shutil.copy("C:\\Windows\SysWOW64\python27.dll", "sources\\resources\\python27_x86.dll") + print "copying x86 msvcr90.dll to sources" + shutil.copy("C:\\Windows\\winsxs\\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\msvcr90.dll", "sources\\resources\\msvcr90_x86.dll") elif sys.argv[1]=="x64": arch="x64" print "copying installed python version to sources\\resources\\python27_x64.dll" shutil.copy("C:\\Windows\system32\python27.dll", "sources\\resources\\python27_x64.dll") + print "copying x64 msvcr90.dll to sources" + shutil.copy("C:\\Windows\\winsxs\\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91\\msvcr90.dll", "sources\\resources\\msvcr90_x64.dll") else: exit("usage: python %s (x86|x64)"%sys.argv[0])