summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-11-20 13:53:13 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-11-20 13:53:13 (GMT)
commit7171f64cc108dfb4072def578ef38ed8ce99187b (patch)
treee31dc52048fa84ae2233f9d14116f5e413184c33 /Source
parentd1f4b6b501f477a0ed9af4abadc5995b835b5ba2 (diff)
parent65b866122184e1a791127dc77fcd3b937ff5dbb9 (diff)
downloadCMake-7171f64cc108dfb4072def578ef38ed8ce99187b.zip
CMake-7171f64cc108dfb4072def578ef38ed8ce99187b.tar.gz
CMake-7171f64cc108dfb4072def578ef38ed8ce99187b.tar.bz2
Merge topic 'fix-autodef-bigobj-64'
65b86612 Merge branch 'backport-fix-autodef-bigobj-64' into fix-autodef-bigobj-64 c7ddc5f4 Fix auto export symbols for Dlls containing /bigobj for 64bit builds. 75004280 Fix auto export symbols for Dlls containing /bigobj for 64bit builds.
Diffstat (limited to 'Source')
-rw-r--r--Source/bindexplib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/bindexplib.cxx b/Source/bindexplib.cxx
index 64621e0..e7263ae 100644
--- a/Source/bindexplib.cxx
+++ b/Source/bindexplib.cxx
@@ -422,7 +422,7 @@ DumpFile(const char* filename,
DumpSymbols<cmANON_OBJECT_HEADER_BIGOBJ, cmIMAGE_SYMBOL_EX>
symbolDumper((cmANON_OBJECT_HEADER_BIGOBJ*) lpFileBase, symbols,
dataSymbols,
- (dosHeader->e_magic == IMAGE_FILE_MACHINE_AMD64));
+ (h->Machine == IMAGE_FILE_MACHINE_AMD64));
symbolDumper.DumpObjFile();
} else {
printf("unrecognized file format in '%s'\n", filename);