Let MSVC wrapper recongnize -DEFAULTLIB:library option
If MSVC wrapper is removed, users cannot put flags like `-Wl,ws2_32.lib`
in linkopts of C++ rules on Windows. Instead, they should do `-DEFAULTLIB:ws2_32.lib`.
This change is to make the wrapper script also accpet
DEFAULTLIB:library option.
@@ -36,6 +36,7 @@ LINKPATTERNS = [
('-no-whole-archive', []),
('-rdynamic', []),
(r'-Wl,(.+)\.lib', ['$0.lib']),
+ (r'-DEFAULTLIB:(.+)', ['/DEFAULTLIB:$0']),
('-Wl,@(.+)', ['$LOAD_PARAMS0']),
('@(.+)', ['$LOAD_PARAMS0']),
('-Wl,-rpath(.+)', []),
