Skip to content
Snippets Groups Projects
  • Simon McVittie's avatar
    91478a07
    Build -system-info and -check-locale with relative DT_RPATH · 91478a07
    Simon McVittie authored
    
    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.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
    91478a07
    History
    Build -system-info and -check-locale with relative DT_RPATH
    Simon McVittie authored
    
    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.
    
    Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
rules 1.93 KiB