mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 23:40:12 +01:00
loader: Stop looking in ${libdir}/tls/
We don't install there, haven't in a long time. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34058>
This commit is contained in:
parent
81f73c89de
commit
e06b834dfa
1 changed files with 4 additions and 9 deletions
|
|
@ -856,18 +856,13 @@ loader_open_driver_lib(const char *driver_name,
|
|||
next = end;
|
||||
|
||||
len = next - p;
|
||||
snprintf(path, sizeof(path), "%.*s/tls/%s%s.so", len,
|
||||
snprintf(path, sizeof(path), "%.*s/%s%s.so", len,
|
||||
p, driver_name, lib_suffix);
|
||||
driver = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
|
||||
if (driver == NULL) {
|
||||
snprintf(path, sizeof(path), "%.*s/%s%s.so", len,
|
||||
p, driver_name, lib_suffix);
|
||||
driver = dlopen(path, RTLD_NOW | RTLD_GLOBAL);
|
||||
if (driver == NULL) {
|
||||
dl_error = dlerror();
|
||||
log_(_LOADER_DEBUG, "MESA-LOADER: failed to open %s: %s\n",
|
||||
path, dl_error);
|
||||
}
|
||||
dl_error = dlerror();
|
||||
log_(_LOADER_DEBUG, "MESA-LOADER: failed to open %s: %s\n",
|
||||
path, dl_error);
|
||||
}
|
||||
/* not need continue to loop all paths once the driver is found */
|
||||
if (driver != NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue