test cases/rust: clang-cl also needs extra_winlibs

pull/9285/head
Nirbheek Chauhan 3 years ago
parent 794ab49e09
commit 0f9924bf7a
  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