meson: Require gtkmarshal_h before we build gtk

This commit is contained in:
Timm Bäder 2016-09-20 17:02:12 +02:00 committed by Emmanuele Bassi
parent 9e0c74b513
commit 5116b2b612
2 changed files with 3 additions and 3 deletions

View File

@ -364,8 +364,7 @@ endif
libgdk = shared_library('gdk',
gdk_sources,
gdkenum_h,
sources: [gdk_sources, gdkconfig, gdkenum_h],
c_args: ['-DHAVE_CONFIG_H', '-DGDK_COMPILATION'],
include_directories: [confinc, xinc, wlinc],
dependencies: gdk_deps,

View File

@ -819,6 +819,7 @@ endif
libgtk = shared_library('gtk',
gtk_sources,
gtkmarshal_h,
c_args: [
'-DGTK_COMPILATION', '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
'-DGTK_BINARY_VERSION="3"', '-DGTK_HOST="bob"',
@ -839,6 +840,6 @@ libgtk_dep = declare_dependency(
gtktypebuiltins_h,
],
dependencies: gtk_deps,
link_with: libgtk,
link_with: [libgtk, libgdk],
include_directories: [confinc, gtkinc]
)