mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-08-27 10:55:59 +00:00
intercept: Don't override to the same name (i.e. spam with Vulkan)
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
@@ -409,6 +409,12 @@ static bool lsi_override_dlopen(const char *orig_name, const char **soname)
|
||||
if (!lsi_file_exists(path_lookup)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
/* We hit a match but it was identical to our expectation */
|
||||
if (strcmp(path_lookup, orig_name) == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
*soname = path_lookup;
|
||||
lsi_log_debug(
|
||||
"intercepting vendor dlopen() \033[31;1m%s\033[0m -> \033[34;1m%s\033[0m",
|
||||
|
||||
Reference in New Issue
Block a user