Platform: Fix incorrect dbus shared library name

Fixes screensaver inhibit on Linux.
This commit is contained in:
Stenzek 2025-01-04 21:14:44 +10:00
parent 886040b257
commit 6043b2331f
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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;