summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gir/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/gir/meson.build b/gir/meson.build
index dda1173b..99586622 100644
--- a/gir/meson.build
+++ b/gir/meson.build
@@ -2,7 +2,11 @@ cairo_conf = configuration_data()
if get_option('cairo_libname') != ''
cairo_library_name = get_option('cairo_libname')
elif host_machine.system() == 'windows'
- cairo_library_name = 'libcairo-gobject-2.dll'
+ if cc.get_id() == 'msvc'
+ cairo_library_name = 'cairo-gobject.dll'
+ else
+ cairo_library_name = 'libcairo-gobject-2.dll'
+ endif
elif host_machine.system() == 'darwin'
cairo_library_name = 'libcairo-gobject.2.dylib'
else