libgimp: Only list gio_specific on Glib 2.86 and newer
Since GioUnix-2.0 namespaces were buggy in previous versions
This commit is contained in:
parent
9819457f31
commit
4dceeb174a
1 changed files with 6 additions and 4 deletions
|
|
@ -495,10 +495,12 @@ else
|
|||
'GObject-2.0',
|
||||
'Pango-1.0',
|
||||
]
|
||||
if not platform_windows
|
||||
libgimp_gir_includes += [ 'GioUnix-2.0' ]
|
||||
else
|
||||
libgimp_gir_includes += [ 'GioWin32-2.0' ]
|
||||
if glib.version().version_compare('>=2.86')
|
||||
if not platform_windows
|
||||
libgimp_gir_includes += [ 'GioUnix-2.0' ]
|
||||
else
|
||||
libgimp_gir_includes += [ 'GioWin32-2.0' ]
|
||||
endif
|
||||
endif
|
||||
|
||||
gir_args = [
|
||||
|
|
|
|||
Loading…
Reference in a new issue