aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/cpp/wrapper/bin/pydir/msvc_link.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/cpp/wrapper/bin/pydir/msvc_link.py')
-rw-r--r--tools/cpp/wrapper/bin/pydir/msvc_link.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/cpp/wrapper/bin/pydir/msvc_link.py b/tools/cpp/wrapper/bin/pydir/msvc_link.py
index b9aa81abb7..98c1a0b5e7 100644
--- a/tools/cpp/wrapper/bin/pydir/msvc_link.py
+++ b/tools/cpp/wrapper/bin/pydir/msvc_link.py
@@ -68,6 +68,9 @@ class MsvcLinker(msvc_tools.WindowsRunner):
# Build argument list.
parser = msvc_tools.ArgParser(self, argv, LINKPATTERNS)
+ # Preprocessing arguments for linking whole archive libraries
+ parser.WholeArchivePreprocess()
+
# Find the output file name.
name = ''
for arg in parser.options: