test cases/rust: clang-cl also needs extra_winlibs

pull/9131/head
Nirbheek Chauhan 3 years ago committed by Dylan Baker
parent 1799658614
commit d80baf8a2b
  1. 2
      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',

Loading…
Cancel
Save