Handle llvm-lib in test common/143

pull/4250/head
Jon Turney 6 years ago
parent 46d20219fc
commit d2172a4780
No known key found for this signature in database
GPG Key ID: C7C86F0370285C81
  1. 3
      test cases/common/143 C and CPP link/meson.build

@ -26,8 +26,9 @@ libc = static_library('cfoo', ['foo.c', 'foo.h'])
cxx = meson.get_compiler('cpp')
if cxx.get_argument_syntax() == 'msvc'
static_linker = find_program('lib', 'llvm-lib')
compile_cmd = ['/c', '@INPUT@', '/Fo@OUTPUT@']
stlib_cmd = ['lib', '/OUT:@OUTPUT@', '@INPUT@']
stlib_cmd = [static_linker, '/OUT:@OUTPUT@', '@INPUT@']
else
compile_cmd = ['-c', '-fPIC', '@INPUT@', '-o', '@OUTPUT@']
stlib_cmd = ['ar', 'csr', '@OUTPUT@', '@INPUT@']

Loading…
Cancel
Save