Skip to content

Commit

Permalink
Look for libwebkit2gtk-4.1 for webview
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Jan 27, 2025
1 parent b65ad4f commit 40c1330
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions distrho/extra/WebViewImpl.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* DISTRHO Plugin Framework (DPF)
* Copyright (C) 2012-2024 Filipe Coelho <[email protected]>
* Copyright (C) 2012-2025 Filipe Coelho <[email protected]>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
Expand Down Expand Up @@ -1039,7 +1039,9 @@ static bool gtk3(Display* const display,
{
void* lib;
if ((lib = dlopen("libwebkit2gtk-4.0.so.37", RTLD_NOW|RTLD_GLOBAL)) == nullptr &&
(lib = dlopen("libwebkit2gtk-4.0.so", RTLD_NOW|RTLD_GLOBAL)) == nullptr)
(lib = dlopen("libwebkit2gtk-4.1.so.0", RTLD_NOW|RTLD_GLOBAL)) == nullptr &&
(lib = dlopen("libwebkit2gtk-4.0.so", RTLD_NOW|RTLD_GLOBAL)) == nullptr
(lib = dlopen("libwebkit2gtk-4.1.so", RTLD_NOW|RTLD_GLOBAL)) == nullptr &&)
{
d_stdout("WebView gtk3 platform not available: %s", dlerror());
return false;
Expand Down

0 comments on commit 40c1330

Please sign in to comment.