After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 620875 - Makefile.introspection: add support for gir_LDFLAGS
Makefile.introspection: add support for gir_LDFLAGS
Status: RESOLVED FIXED
Product: gobject-introspection
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gobject-introspection Maintainer(s)
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2010-06-07 18:02 UTC by Steve Frécinaux
Modified: 2015-02-07 16:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Makefile.introspection: add support for gir_LDFLAGS (1.49 KB, patch)
2010-06-07 18:02 UTC, Steve Frécinaux
committed Details | Review

Description Steve Frécinaux 2010-06-07 18:02:22 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.
Comment 1 Steve Frécinaux 2010-06-07 18:02:24 UTC
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.
Comment 2 Johan (not receiving bugmail) Dahlin 2010-06-07 18:09:58 UTC
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 ;-)
Comment 3 Steve Frécinaux 2010-06-07 18:21:40 UTC
Attachment 162960 [details] pushed as d179ed8 - Makefile.introspection: add support for gir_LDFLAGS
Comment 4 Steve Frécinaux 2010-06-07 18:22:30 UTC
the wiki page has been updated as well.
Comment 5 André Klapper 2015-02-07 16:54:58 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]