diff --git a/gtk/meson.build b/gtk/meson.build index 3fb7d7257b..8f9c08cb03 100644 --- a/gtk/meson.build +++ b/gtk/meson.build @@ -804,7 +804,8 @@ libgtk_dep = declare_dependency( gtktypebuiltins_c, gtktypebuiltins_h, ], - dependencies: gtk_deps + [libgdk_dep, libgsk_dep], + include_directories: [confinc], + dependencies: gtk_deps, link_with: libgtk, link_args: ['-Bsymbolic'], include_directories: [confinc, gtkinc] diff --git a/tests/meson.build b/tests/meson.build index 2435e3d0e4..be12e42cc6 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -145,6 +145,7 @@ foreach t : gtk_tests test_name = t.get(0) test_srcs = ['@0@.c'.format(test_name), t.get(1, [])] executable(test_name, test_srcs, + include_directories : [confinc, gdkinc], c_args : test_args, dependencies : [libgtk_dep, libm]) endforeach