Skip to content

Commit

Permalink
Merge pull request #1077 from danyeaw/patch-2
Browse files Browse the repository at this point in the history
Fix default_library undeclared error in Windows
  • Loading branch information
Cyan4973 committed Apr 17, 2022
2 parents d73a881 + 8507c93 commit 69bf033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/meson/meson/lib/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 69bf033

Please sign in to comment.