Adjust code that libsteam-runtime-tools uses to find itself
-
Locate libsteam-runtime-tools with dladdr1(), not by iterating link map
This avoids relying on the implementation detail of knowing what the shared library ought to be called.
-
_srt_get_helpers_path: Adjust mapping from ${libdir} to ${prefix}
Only remove a /lib/CPU-linux-gnu suffix (not just /CPU-linux-gnu), and handle a /lib64 suffix the same as /lib.
/cc @jpwhiting @denittis