diff options
| author | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-09-30 03:58:54 +0530 |
|---|---|---|
| committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2017-09-30 03:58:54 +0530 |
| commit | 560f4b6fc74aae8ddf281e6cb1c6ae52755e143b (patch) | |
| tree | d4c2392f5bc93f5ea04c966c169595d8e543965a | |
| parent | b866cf0804954bee535dfbceb77b0a67fcbb7615 (diff) | |
| download | meson-560f4b6fc74aae8ddf281e6cb1c6ae52755e143b.tar.gz | |
vs: Fix detection of options vs libraries in link args
| -rw-r--r-- | mesonbuild/backend/vs2010backend.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py index 9ccc12ffd..352c707c7 100644 --- a/mesonbuild/backend/vs2010backend.py +++ b/mesonbuild/backend/vs2010backend.py @@ -532,6 +532,8 @@ class Vs2010Backend(backends.Backend): if lpath in lpaths: lpaths.remove(lpath) lpaths.append(lpath) + elif arg.startswith(('/', '-')): + other.append(arg) # It's ok if we miss libraries with non-standard extensions here. # They will go into the general link arguments. elif arg.endswith('.lib') or arg.endswith('.a'): |
