Skip to content
Snippets Groups Projects
Commit 7175c418 authored by Simon McVittie's avatar Simon McVittie
Browse files

graphics: Search for extra drivers in libQUAL/dri, not in libQUAL


When we found a loader library in ${prefix}/libQUAL, we were
correctly looking in ${prefix}/libQUAL/dri.

However, when we found a Debian-style loader library in
${prefix}/lib/${multiarch}, we were correctly looking for preferred
drivers in ${prefix}/lib/${multiarch}/dri, but we were looking for extra
drivers in ${prefix}/lib and ${prefix}/libQUAL, not in ${prefix}/lib/dri
and ${prefix}/libQUAL/dri as we should.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent f6a717f5
No related branches found
No related tags found
1 merge request!84Enumerate Mesa DRI modules and VA-API drivers
...@@ -2454,8 +2454,8 @@ _srt_get_extra_modules_directory (const gchar *library_search_path, ...@@ -2454,8 +2454,8 @@ _srt_get_extra_modules_directory (const gchar *library_search_path,
g_return_val_if_reached (NULL); g_return_val_if_reached (NULL);
} }
ret = g_list_prepend (ret, g_build_filename (dir, "lib", NULL)); ret = g_list_prepend (ret, g_build_filename (dir, "lib", "dri", NULL));
ret = g_list_prepend (ret, g_build_filename (dir, libqual, NULL)); ret = g_list_prepend (ret, g_build_filename (dir, libqual, "dri", NULL));
out: out:
g_free (lib_multiarch); g_free (lib_multiarch);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment