From 8507c93f2e6d37726970d8fc15cab532e834ffc6 Mon Sep 17 00:00:00 2001 From: Dan Yeaw Date: Fri, 15 Apr 2022 13:45:25 -0400 Subject: Fix default_library undeclared error in Windows --- contrib/meson/meson/lib/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/meson/meson/lib/meson.build b/contrib/meson/meson/lib/meson.build index 9318667..2ff294d 100644 --- a/contrib/meson/meson/lib/meson.build +++ b/contrib/meson/meson/lib/meson.build @@ -19,7 +19,7 @@ sources = files( c_args = [] -if host_machine.system() == 'windows' and default_library != 'static' +if host_machine.system() == 'windows' and get_option('default_library') != 'static' c_args += '-DLZ4_DLL_EXPORT=1' endif -- cgit v0.12