intercept: Only emit soname change when LSI_DEBUG is set

Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
Ikey Doherty
2017-10-13 15:43:27 +01:00
parent feae99a359
commit fa41b2c572
+6 -1
View File
@@ -296,7 +296,12 @@ static bool lsi_override_soname(unsigned int flag, const char *orig_name, const
continue;
}
*soname = vendor_transmute_target[i];
emit_replaced_name(orig_name, *soname);
/* If LSI_DEBUG is set, spam it. */
if (getenv("LSI_DEBUG")) {
emit_replaced_name(orig_name, *soname);
}
return true;
}