meson: make sure gdk/gdkenumtypes.h is generated for users of libgtk_dep

Add libgdk_dep as dependency to the libgtk_dep declare_dependency(), so
that the generated gdk includes are generated before anything is built
that tries to include gtk headers (such as various tests that don't depend
on gdk directly).
This commit is contained in:
Tim-Philipp Müller 2017-02-11 20:15:25 +00:00 committed by Emmanuele Bassi
parent 55bbe0612e
commit 154ca1d1e4

View File

@ -798,10 +798,10 @@ libgtk_dep = declare_dependency(
gtktypebuiltins_c,
gtktypebuiltins_h,
],
dependencies: gtk_deps,
link_with: [libgtk, libgdk, libgsk],
dependencies: gtk_deps + [libgdk_dep, libgsk_dep],
link_with: libgtk,
link_args: ['-Bsymbolic'],
include_directories: [confinc, gtkinc, gdkinc]
include_directories: [confinc, gtkinc]
)