> That's not relevant. Tests don't use the install tree. They use the build
> tree.
Oh ok.
In terms of the build tree, the right libraries are automatically pulled in at runtime, since libgsettings.so is linked to libgsettings_backend_shared.so (which resolves to the local version inside the build tree, and then is re-linked at install time).
Also from what I've read its not possible to change LD_LIBRARY_PATH at runtime anyways, you need to use a wrapper to do it, which isn't very valgrind friendly.
> That's not relevant. Tests don't use the install tree. They use the build
> tree.
Oh ok.
In terms of the build tree, the right libraries are automatically pulled in at runtime, since libgsettings.so is linked to libgsettings_ backend_ shared. so (which resolves to the local version inside the build tree, and then is re-linked at install time).
Also from what I've read its not possible to change LD_LIBRARY_PATH at runtime anyways, you need to use a wrapper to do it, which isn't very valgrind friendly.