Platform: Fix incorrect dbus shared library name
Fixes screensaver inhibit on Linux.
This commit is contained in:
parent
886040b257
commit
6043b2331f
|
@ -70,7 +70,7 @@ static bool SetScreensaverInhibitDBus(const bool inhibit_requested, const char*
|
|||
Error lerror;
|
||||
s_dbus_library_loaded = true;
|
||||
|
||||
if (!s_dbus_library.Open(DynamicLibrary::GetVersionedFilename("dbus", 1).c_str(), &lerror))
|
||||
if (!s_dbus_library.Open(DynamicLibrary::GetVersionedFilename("dbus-1").c_str(), &lerror))
|
||||
{
|
||||
ERROR_LOG("Failed to open libdbus: {}", lerror.GetDescription());
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue