Skip test on VS earlier than 2015.
This commit is contained in:
parent
d152c1b5d5
commit
a718f1a334
|
@ -1,5 +1,13 @@
|
||||||
project('whole archive', 'c')
|
project('whole archive', 'c')
|
||||||
|
|
||||||
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
|
if cc.get_id() == 'msvc'
|
||||||
|
if cc.version().version_compare('<19')
|
||||||
|
error('MESON_SKIP_TEST link_whole only works on VS2015 or newer.')
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
stlib = static_library('allofme', 'libfile.c')
|
stlib = static_library('allofme', 'libfile.c')
|
||||||
|
|
||||||
# Nothing in dylib.c uses func1, so the linker would throw it
|
# Nothing in dylib.c uses func1, so the linker would throw it
|
||||||
|
|
Loading…
Reference in New Issue