testsuite: depend on gir and libgtk in introspection test

We also don't need to LD_PRELOAD anymore if we do that.
This commit is contained in:
Benjamin Otte
2024-10-28 03:11:24 +01:00
parent 7d87118151
commit 3ca5a75ab0

View File

@@ -2,10 +2,10 @@ env = environment()
env.prepend('GI_TYPELIB_PATH',
project_build_root / 'gtk',
)
env.prepend('LD_PRELOAD', project_build_root / 'gtk' / 'libgtk-4.so')
test('api',
find_program('api.py', dirs: meson.current_source_dir()),
suite: ['introspection'],
depends: [ gtk_gir, libgtk ],
env: env,
)