diff options
author | Yann Collet <Cyan4973@users.noreply.github.com> | 2022-04-17 17:03:46 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-17 17:03:46 (GMT) |
commit | 69bf033106f7a93693fb739b86c7ce2baf570345 (patch) | |
tree | b8882b0141e9fa69fa599e7d9e695674d96b4c0d | |
parent | d73a88126b692b851369924121c95c5ac5b3bcfd (diff) | |
parent | 8507c93f2e6d37726970d8fc15cab532e834ffc6 (diff) | |
download | lz4-69bf033106f7a93693fb739b86c7ce2baf570345.zip lz4-69bf033106f7a93693fb739b86c7ce2baf570345.tar.gz lz4-69bf033106f7a93693fb739b86c7ce2baf570345.tar.bz2 |
Merge pull request #1077 from danyeaw/patch-2
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 |