diff --git a/meson.build b/meson.build index f3e7a2754..9aa6a65b0 100644 --- a/meson.build +++ b/meson.build @@ -37,7 +37,9 @@ static_linkage = static_linkage or get_option('default_library')=='static' lzma_dep = dependency('liblzma', static:static_linkage) if static_linkage add_project_arguments('-DLZMA_API_STATIC', language: 'cpp') -else +endif + +if get_option('default_library') != 'static' public_conf.set('LIBZIM_EXPORT_DLL', true) endif