Index: base/allocator/prep_libc.py |
diff --git a/base/allocator/prep_libc.py b/base/allocator/prep_libc.py |
index be7030f0f1de613a67d96409fbdfc6cd75eadd56..d4219830fb430f2e258a12b1c4027fd48875c4ef 100755 |
--- a/base/allocator/prep_libc.py |
+++ b/base/allocator/prep_libc.py |
@@ -33,6 +33,8 @@ def run(command, filter=None): |
def main(): |
vs_install_dir = sys.argv[1] |
outdir = sys.argv[2] |
+ if "x64" in sys.argv[2]: |
+ vs_install_dir = os.path.join(vs_install_dir, 'amd64') |
output_lib = os.path.join(outdir, 'libcmt.lib') |
shutil.copyfile(os.path.join(vs_install_dir, 'libcmt.lib'), output_lib) |
shutil.copyfile(os.path.join(vs_install_dir, 'libcmt.pdb'), |