File webkitgtk-2.4.11-windows.patch of Package mingw64-webkitgtk

--- webkitgtk-2.4.11/Source/WebKit/gtk/GNUmakefile.am	2016-04-10 08:48:37.000000000 +0200
+++ webkitgtk-2.4.11/Source/WebKit/gtk/GNUmakefile.am	2017-06-02 10:17:15.207528505 +0200
@@ -137,6 +137,10 @@
 	$(OLE32_LIBS) \
 	$(ZLIB_LIBS)
 
+if TARGET_WIN32
+libwebkitgtk_@WEBKITGTK_API_MAJOR_VERSION@_@WEBKITGTK_API_MINOR_VERSION@_la_LIBADD += -lgdi32
+endif
+
 webkitgtk_static_h_api += \
 	$(srcdir)/Source/WebKit/gtk/webkit/webkit.h \
 	$(srcdir)/Source/WebKit/gtk/webkit/webkitapplicationcache.h \
--- webkitgtk-2.4.11/Tools/GtkLauncher/GNUmakefile.am	2016-04-10 08:48:38.000000000 +0200
+++ webkitgtk-2.4.11/Tools/GtkLauncher/GNUmakefile.am	2017-06-02 17:44:50.263223089 +0200
@@ -1,5 +1,5 @@
 if ENABLE_WEBKIT1
-noinst_PROGRAMS += \
+bin_PROGRAMS += \
 	Programs/GtkLauncher
 endif
 
openSUSE Build Service is sponsored by