Bug 143764

Summary: [W32][GTK] GI fails due to W32-incompatible arguments to the scanner
Product: WebKit Reporter: LRN <lrn1986>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: cgarcia, lrn1986
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 133028    
Attachments:
Description Flags
Use correct .la files as --library arguments for GI scanner cgarcia: review+, cgarcia: commit-queue-

Description LRN 2015-04-15 06:27:48 PDT
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.
Comment 1 LRN 2015-04-15 10:01:10 PDT
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
Comment 2 Carlos Garcia Campos 2015-05-18 11:26:23 PDT
Committed to 2.4 http://trac.webkit.org/changeset/184504