Skip to content

Commit 40c1330

Browse files
committed
Look for libwebkit2gtk-4.1 for webview
Signed-off-by: falkTX <falktx@falktx.com>
1 parent b65ad4f commit 40c1330

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

distrho/extra/WebViewImpl.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* DISTRHO Plugin Framework (DPF)
3-
* Copyright (C) 2012-2024 Filipe Coelho <falktx@falktx.com>
3+
* Copyright (C) 2012-2025 Filipe Coelho <falktx@falktx.com>
44
*
55
* Permission to use, copy, modify, and/or distribute this software for any purpose with
66
* or without fee is hereby granted, provided that the above copyright notice and this
@@ -1039,7 +1039,9 @@ static bool gtk3(Display* const display,
10391039
{
10401040
void* lib;
10411041
if ((lib = dlopen("libwebkit2gtk-4.0.so.37", RTLD_NOW|RTLD_GLOBAL)) == nullptr &&
1042-
(lib = dlopen("libwebkit2gtk-4.0.so", RTLD_NOW|RTLD_GLOBAL)) == nullptr)
1042+
(lib = dlopen("libwebkit2gtk-4.1.so.0", RTLD_NOW|RTLD_GLOBAL)) == nullptr &&
1043+
(lib = dlopen("libwebkit2gtk-4.0.so", RTLD_NOW|RTLD_GLOBAL)) == nullptr
1044+
(lib = dlopen("libwebkit2gtk-4.1.so", RTLD_NOW|RTLD_GLOBAL)) == nullptr &&)
10431045
{
10441046
d_stdout("WebView gtk3 platform not available: %s", dlerror());
10451047
return false;

0 commit comments

Comments
 (0)