From 8f0c9b2fe10f7e8e0eb93963e3531d8fb5ec5ec1 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Tue, 25 Nov 2025 15:08:30 +0000 Subject: [PATCH] tests: Fix static-link test when running installed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This effectively reverts commit 663ee11fda42b047de8be1cc0d3521d1d64e5ae4 for this `meson.build` file. This `meson.build` file isn’t actually pulled into the main GLib (or GIO) build; it’s actually just installed and then later called from a `meson` subprocess of `static-link.py`. So it doesn’t have access to the `app_profile_dep` variable, which is internal to GLib. Fixes this CI failure: https://gitlab.gnome.org/GNOME/glib/-/jobs/5834610 Signed-off-by: Philip Withnall --- gio/tests/static-link/meson.build | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/gio/tests/static-link/meson.build b/gio/tests/static-link/meson.build index 558840d0e..aa9a918af 100644 --- a/gio/tests/static-link/meson.build +++ b/gio/tests/static-link/meson.build @@ -3,9 +3,6 @@ project('test-static-link', 'c') # This is a dummy project that static links against installed gio. # See gio/tests/static-link.py. app = executable('test-static-link', 'app.c', - dependencies : [ - dependency('gio-2.0', static : true), - app_profile_dep, - ] + dependencies : dependency('gio-2.0', static : true), ) test('test-static-link', app)