| Index: pylib/gyp/msvs_emulation.py
|
| diff --git a/pylib/gyp/msvs_emulation.py b/pylib/gyp/msvs_emulation.py
|
| index 93130306f48387c363e1c83bb74a0018a6bc838c..1d59e8beb2948c0489ae9e6a45deed37304bc873 100644
|
| --- a/pylib/gyp/msvs_emulation.py
|
| +++ b/pylib/gyp/msvs_emulation.py
|
| @@ -202,7 +202,8 @@ class MsvsSettings(object):
|
|
|
| def AdjustLibraries(self, libraries):
|
| """Strip -l from library if it's specified with that."""
|
| - return [lib[2:] if lib.startswith('-l') else lib for lib in libraries]
|
| + libs = [lib[2:] if lib.startswith('-l') else lib for lib in libraries]
|
| + return [lib + '.lib' if not lib.endswith('.lib') else lib for lib in libs]
|
|
|
| def _GetAndMunge(self, field, path, default, prefix, append, map):
|
| """Retrieve a value from |field| at |path| or return |default|. If
|
|
|