Fix build of the plugins when using libwebkitgtk-3.0 1.5.1 OBS-URL: https://build.opensuse.org/request/show/74231 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libproxy?expand=0&rev=65
18 lines
584 B
Diff
18 lines
584 B
Diff
Index: libproxy/cmake/modules/pacrunner_webkit.cmk
|
|
===================================================================
|
|
--- libproxy/cmake/modules/pacrunner_webkit.cmk (revision 815)
|
|
+++ libproxy/cmake/modules/pacrunner_webkit.cmk (working copy)
|
|
@@ -13,7 +13,10 @@
|
|
endif()
|
|
else()
|
|
if(WITH_WEBKIT3)
|
|
- px_check_modules(WEBKIT webkitgtk-3.0)
|
|
+ px_check_modules(WEBKIT javascriptcoregtk-3.0>=1.5.0)
|
|
+ if(NOT WEBKIT_LIBRARIES)
|
|
+ px_check_modules(WEBKIT webkitgtk-3.0<1.5.0)
|
|
+ endif(NOT WEBKIT_LIBRARIES)
|
|
else()
|
|
px_check_modules(WEBKIT webkit-1.0)
|
|
endif()
|
|
|