GNOME Bugzilla – Bug 620875
Makefile.introspection: add support for gir_LDFLAGS
Last modified: 2015-02-07 16:54:58 UTC
This allows specifying LDFLAGS for the introspection scanner. LDFLAGS are currently just appended to the CFLAGS as the current scanner doesn't make the difference between both, but it looked wrong to include LDFLAGS in the middle of CFLAGS for g-ir-scanner.
Created attachment 162960 [details] [review] Makefile.introspection: add support for gir_LDFLAGS This allows specifying LDFLAGS for the introspection scanner. LDFLAGS are currently just appended to the CFLAGS as the current scanner doesn't make the difference between both, but it looked wrong to include LDFLAGS in the middle of CFLAGS for g-ir-scanner.
Review of attachment 162960 [details] [review]: Looks good to me with that small modification. Please update http://live.gnome.org/GObjectIntrospection/AutotoolsIntegration as well ::: Makefile.introspection @@ +97,3 @@ # SCANNERFLAGS - Flags to pass in to the scanner, see g-ir-scanner(1) for a list # CFLAGS - Flags to pass in to the parser when scanning headers +# LDFLAGS - Linker flags to pass in to the parser when scanning headers "Linker flags used by the scanner", this is not related to scanning headers at all ;-)
Attachment 162960 [details] pushed as d179ed8 - Makefile.introspection: add support for gir_LDFLAGS
the wiki page has been updated as well.
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]