1
1
mirror of https://gitlab.gnome.org/GNOME/gimp.git synced 2025-10-06 01:12:40 +02:00

libgimp: Additionally pass gio-[unix,windows]-2.0 to vapigen

Fixes https://gitlab.gnome.org/GNOME/gimp/issues/14902
This commit is contained in:
Rico Tzschichholz
2025-09-23 12:15:21 +02:00
committed by Bruno
parent c5e77fb8bb
commit 6260590cf4

View File

@@ -575,6 +575,13 @@ else
'gobject-2.0',
'gtk+-3.0',
]
if glib.version().version_compare('>=2.86')
if not platform_windows
vapi_deps += [ 'gio-unix-2.0' ]
else
vapi_deps += [ 'gio-windows-2.0' ]
endif
endif
libgimp_vapi = gnome.generate_vapi('gimp-' + gimp_api_version,
sources: libgimp_gir[0],