diff --git a/releases.json b/releases.json index 8add79330..fbca4d1d6 100644 --- a/releases.json +++ b/releases.json @@ -2083,6 +2083,7 @@ "libwebpmux" ], "versions": [ + "1.3.2-2", "1.3.2-1", "1.3.1-2", "1.3.1-1" diff --git a/subprojects/packagefiles/libwebp/meson.build b/subprojects/packagefiles/libwebp/meson.build index ccff711a9..3b1a9aca8 100644 --- a/subprojects/packagefiles/libwebp/meson.build +++ b/subprojects/packagefiles/libwebp/meson.build @@ -94,7 +94,11 @@ pkg = import('pkgconfig') m_dep = cc.find_library('m', required: false) -add_project_arguments('-DHAVE_CONFIG_H', '-DWEBP_DLL', language: 'c') +add_project_arguments('-DHAVE_CONFIG_H', language: 'c') + +if get_option('default_library') != 'static' + add_project_arguments('-DWEBP_DLL', language: 'c') +endif top_includes = include_directories('.', 'src')