mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 04:47:51 +08:00
19 lines
814 B
Diff
19 lines
814 B
Diff
|
diff --git a/mk/win32.mk b/mk/win32.mk
|
||
|
index fc179563e..15903919a 100644
|
||
|
--- a/mk/win32.mk
|
||
|
+++ b/mk/win32.mk
|
||
|
@@ -264,12 +264,12 @@ endef
|
||
|
define MakeCXXExportSymbolDefinitionFile
|
||
|
symrefdir=$${debug:+debug}; \
|
||
|
symreflib=$(SharedLibrarySymbolRefLibraryTemplate); \
|
||
|
if [ ! -f $$symreflib ]; then echo "Cannot find reference static library $$symreflib"; return 1; fi; \
|
||
|
set -x; \
|
||
|
echo "LIBRARY $$dllbase" > $$defname; \
|
||
|
echo "VERSION $$version" >> $$defname; \
|
||
|
echo "EXPORTS" >> $$defname; \
|
||
|
-DUMPBIN.EXE /SYMBOLS $$symreflib | \
|
||
|
+DUMPBIN.EXE $$symreflib -SYMBOLS | \
|
||
|
egrep '^[^ ]+ +[^ ]+ +SECT[^ ]+ +[^ ]+ +\(\) +External +\| +\?[^ ]*|^[^ ]+ +[^ ]+ +SECT[^ ]+ +[^ ]+ +External +\| +\?[^?][^ ]*'|\
|
||
|
egrep -v 'deleting destructor[^(]+\(unsigned int\)' | \
|
||
|
egrep -v 'anonymous namespace' | \
|