From 3a6d8a8c762dc903b5951ca015e09db4940965de Mon Sep 17 00:00:00 2001 From: Chris Cannam Date: Mon, 13 Dec 2021 17:47:43 +0000 Subject: [PATCH] Use "classic Windows" library.lib naming only with MSVC; with MinGW use liblibrary.a as on other platforms. Thanks to Biswapriyo Nath --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index b844735..08bf903 100644 --- a/meson.build +++ b/meson.build @@ -390,7 +390,7 @@ general_include_dirs += get_option('extra_include_dirs') general_compile_args = [ arch_flags, feature_defines ] general_dependencies = [ feature_dependencies, thread_dep ] -if system == 'windows' +if cpp.get_id() == 'msvc' if get_option('no_shared') rubberband_static_name = 'rubberband' else