libgimp: Additionally pass gio-[unix,windows]-2.0 to vapigen
Fixes https://gitlab.gnome.org/GNOME/gimp/issues/14902
(cherry picked from commit 6260590cf4)
This commit is contained in:
parent
12aa79d695
commit
003a9fcbc7
1 changed files with 7 additions and 0 deletions
|
|
@ -571,6 +571,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],
|
||||
|
|
|
|||
Loading…
Reference in a new issue