diff options
author | Dan Yeaw <dan@yeaw.me> | 2022-04-15 17:45:25 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-15 17:45:25 (GMT) |
commit | 8507c93f2e6d37726970d8fc15cab532e834ffc6 (patch) | |
tree | b8882b0141e9fa69fa599e7d9e695674d96b4c0d | |
parent | d73a88126b692b851369924121c95c5ac5b3bcfd (diff) | |
download | lz4-8507c93f2e6d37726970d8fc15cab532e834ffc6.zip lz4-8507c93f2e6d37726970d8fc15cab532e834ffc6.tar.gz lz4-8507c93f2e6d37726970d8fc15cab532e834ffc6.tar.bz2 |
Fix default_library undeclared error in Windows
-rw-r--r-- | contrib/meson/meson/lib/meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
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 |