From 154ca1d1e46d50ffad384a3e66a1da7b2cb4884d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Sat, 11 Feb 2017 20:15:25 +0000 Subject: [PATCH] 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). --- gtk/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gtk/meson.build b/gtk/meson.build index d18f406e5c..9864ca6662 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -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] )