diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-08 22:50:53 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2017-04-08 22:50:53 +0300 |
commit | cbc8d6e537ce9f57436392ce1ce2d4b6384468ae (patch) | |
tree | 1bbc0f6329fcee48426aceff12d4204f635553af /mesonbuild/compilers.py | |
parent | a718f1a334b798dac739f93d1f2832c99609cdd6 (diff) | |
download | meson-cbc8d6e537ce9f57436392ce1ce2d4b6384468ae.zip meson-cbc8d6e537ce9f57436392ce1ce2d4b6384468ae.tar.gz meson-cbc8d6e537ce9f57436392ce1ce2d4b6384468ae.tar.bz2 |
Fix link whole on VS backend.
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r-- | mesonbuild/compilers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 94ee2f1..54e959c 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -2281,6 +2281,8 @@ class VisualStudioCCompiler(CCompiler): def get_link_whole_for(self, args): # Only since VS2015 + if not isinstance(args, list): + args = [args] return ['/WHOLEARCHIVE:' + x for x in args] |