Commit 22da8416 authored by Simon McVittie's avatar Simon McVittie
Browse files

ldlibs: Try loading Clear Linux ld.so cache

Clear Linux patches glibc to put ld.so.cache in /var/cache/ldconfig/
to meet their goal of /etc being initially empty and reserved for the
sysadmin. We can handle this just like the conventional path: it
doesn't need to be architecture-specific.

Partially addresses
https://github.com/ValveSoftware/steam-runtime/issues/345

Signed-off-by: Simon McVittie's avatarSimon McVittie <smcv@collabora.com>
parent 0bfae6ca
Pipeline #20556 passed with stage
in 8 minutes and 17 seconds
......@@ -86,6 +86,7 @@ const char * const ld_cache_filenames[] =
"/etc/ld-x86_64-pc-linux-gnu.cache", /* Exherbo */
#endif
"/etc/ld.so.cache", /* interoperable */
"/var/cache/ldconfig/ld.so.cache", /* Clear Linux */
NULL
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment