summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2017-03-22 00:45:39 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2017-05-03 15:10:54 +0100
commitf67a9d58dbaff870e872a5144645253fe4b524b0 (patch)
tree95204ace3f56dd29dd4b0516ed329909519e8887 /testsuite
parent48e2b773696736449011abb73d4d3065fedfb907 (diff)
downloadgtk+-f67a9d58dbaff870e872a5144645253fe4b524b0.tar.gz
meson: make sure gsk/gdk generated headers exist for libgtk_dep users
Add back dependencies on libgdk_dep and libsk_dep which are declared dependencies. We removed this before because these declarations had link_with: lines that dragged in the static libgdk.a and libgsk.a libs which are linked into libgtk-4.so anyway and thus shouldn't be used when linking internal exes/tools against libgtk-4. Remove the static libs from the declared dependencies and have libgtk link those in explicitly, so that the declared deps now just provide all the built dependencies and include dirs and such for declared libgtk_dep users such as the internal exes/tools, which want all the generated gsk/gdk/gtk headers to exist before attempting to compile anything against the gtk+ headers.
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/gdk/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/gdk/meson.build b/testsuite/gdk/meson.build
index 6c85e75b93..cfe2d07913 100644
--- a/testsuite/gdk/meson.build
+++ b/testsuite/gdk/meson.build
@@ -17,7 +17,7 @@ test('gdk/keysyms', test_keysyms)
test_rectangle = executable('rectangle', 'rectangle.c', dependencies: libgtk_dep)
test('gdk/rectangle', test_rectangle)
-test_rgba = executable('rgba', 'rgba.c', dependencies: libgdk_dep)
+test_rgba = executable('rgba', 'rgba.c', dependencies: libgtk_dep)
test('gdk/rgba', test_rgba)
test_seat = executable('seat', 'seat.c', dependencies: libgtk_dep)