mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-29 13:29:55 +01:00
tests: Fix static-link test when running installed
This effectively reverts commit 663ee11fda
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 <pwithnall@gnome.org>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user