Skip to content

meson: Ensure that locally built libraries are preferred on tests

Marco Trevisan requested to merge 3v1n0/glib:meson-tests-cleanups into master

When running tests for glib during development, the installed libraries are preferred to the built ones.

This is not expected when running meson test.

While executables may be linked using a local path, this is not possible when using installed tests, so we need to define LD_LIBRARY_PATH so that the build dirs are preferred over the global library paths.

Merge request reports