build: Use the correct path to the header of the wayland and x11 backends

This commit is contained in:
Corentin Noël 2020-12-03 10:02:03 +01:00
parent f8ee4cfea5
commit 585ba777c2

View File

@ -1159,7 +1159,7 @@ if build_gir
includes: [ gdk_gir[0], 'xlib-2.0', ], includes: [ gdk_gir[0], 'xlib-2.0', ],
install: true, install: true,
dependencies: gdk_gir_dep, dependencies: gdk_gir_dep,
header: 'gdk/gdkx.h', header: 'gdk/x11/gdkx.h',
extra_args: gir_args, extra_args: gir_args,
) )
gtk_dep_sources += gdk_x11_gir gtk_dep_sources += gdk_x11_gir
@ -1176,7 +1176,7 @@ if build_gir
includes: [ gdk_gir[0], ], includes: [ gdk_gir[0], ],
install: true, install: true,
dependencies: gdk_gir_dep, dependencies: gdk_gir_dep,
header: 'gdk/gdkwayland.h', header: 'gdk/wayland/gdkwayland.h',
extra_args: gir_args, extra_args: gir_args,
) )
gtk_dep_sources += gdk_wayland_gir gtk_dep_sources += gdk_wayland_gir