diff options
-rw-r--r-- | pixman/meson.build | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pixman/meson.build b/pixman/meson.build index 5dce870..62ec66b 100644 --- a/pixman/meson.build +++ b/pixman/meson.build @@ -31,7 +31,8 @@ version_h = configure_file( ) libpixman_extra_cargs = [] -if cc.has_function_attribute('dllexport') +default_library = get_option('default_library') +if default_library != 'static' and cc.has_function_attribute('dllexport') libpixman_extra_cargs = ['-DPIXMAN_API=__declspec(dllexport)'] endif |