--- meson.build.orig
+++ meson.build
@@ -163,7 +163,7 @@
 endif
 
 # WebKit2GTK support
-webkit2gtk_dep = dependency('webkit2gtk-4.0', version: '>= 2.28.0', required: get_option('webkit2gtk'))
+webkit2gtk_dep = dependency('webkit2gtk-4.1', version: '>= 2.28.0', required: get_option('webkit2gtk'))
 have_webkit2gtk = webkit2gtk_dep.found()
 
 # Check for GDK Quartz and MacOSX integration package
