diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2021-08-18 04:11:50 +0530 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2021-08-17 19:58:23 -0700 |
commit | d80baf8a2b3f520f8c95cd02dbc3704b53dcfa5b (patch) | |
tree | 81b72b4e2ad2ba4c5eb58cd8c51ed594bc2c3a50 | |
parent | 1799658614944a7cb4ead5c4ce9de62d61c59329 (diff) | |
download | meson-d80baf8a2b3f520f8c95cd02dbc3704b53dcfa5b.zip meson-d80baf8a2b3f520f8c95cd02dbc3704b53dcfa5b.tar.gz meson-d80baf8a2b3f520f8c95cd02dbc3704b53dcfa5b.tar.bz2 |
test cases/rust: clang-cl also needs extra_winlibs
-rw-r--r-- | test cases/rust/5 polyglot static/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/rust/5 polyglot static/meson.build b/test cases/rust/5 polyglot static/meson.build index 1441367..de2e61b 100644 --- a/test cases/rust/5 polyglot static/meson.build +++ b/test cases/rust/5 polyglot static/meson.build @@ -5,7 +5,7 @@ deps = [ dependency('threads'), ] -extra_winlibs = meson.get_compiler('c').get_id() == 'msvc' ? ['userenv.lib', 'ws2_32.lib'] : [] +extra_winlibs = meson.get_compiler('c').get_id() in ['msvc', 'clang-cl'] ? ['userenv.lib', 'ws2_32.lib'] : [] l = static_library('stuff', 'stuff.rs', rust_crate_type : 'staticlib', install : true) e = executable('prog', 'prog.c', |