Build -system-info and -check-locale with relative DT_RPATH
-
Build -system-info and -check-locale with relative DT_RPATH
This ensures that they can find the non-ubiquitous json-glib library, and the steam-runtime-tools library, even if relocated into a non-standard prefix like the LD_LIBRARY_PATH Steam Runtime.
Using DT_RPATH in preference to DT_RUNPATH means we take all our direct and indirect dependencies from the same place. This is important when libjson-glib (which won't ordinarily have a RUNPATH or RPATH) pulls in GIO as an indirect dependency of check-locale, which doesn't directly depend on GIO. The GIO library we get must match the versions of GLib and GObject we're using.
This also bypasses LD_LIBRARY_PATH.
-
_srt_find_myself: Refactor _srt_get_helpers_path to find ${prefix}
If steam-runtime-system-info is run from an unpacked LD_LIBRARY_PATH Steam Runtime, we want it to find that runtime's library expectations. This is a step towards that.
-
system-info: Find steamrt expectations relative to libsrt
If steam-runtime-system-info is run from an unpacked LD_LIBRARY_PATH Steam Runtime, we want it to find that runtime's library expectations. In particular, when using "steam-native" on Arch Linux, we want to diagnose whether the system-wide libraries provided by Arch Linux are compatible with the ones from the real Steam Runtime.
https://phabricator.collabora.com/T17169
Needs packaging/waffle!4 for full functionality.
Binaries:
Test-build: