It is given --library=webkitgtk-@WEBKITGTK_API_VERSION@ --library=javascriptcoregtk-@WEBKITGTK_API_VERSION@ which doesn't work. Instead it should be given --library=libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la --library=libjavascriptcoregtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la which works.
Created attachment 250810 [details] Use correct .la files as --library arguments for GI scanner This way it plays well with W32 gobject-introspection library resolution code. Without that one would get things like: ERROR: can't resolve libraries to shared libraries: webkitgtk-3.0, javascriptcoregtk-3.0
Committed to 2.4 http://trac.webkit.org/changeset/184504