From d179ed8d8b0bd128c357631ca37da4d2a486987f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=20Fr=C3=A9cinaux?= Date: Mon, 7 Jun 2010 19:58:57 +0200 Subject: 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. https://bugzilla.gnome.org/show_bug.cgi?id=620875 --- Makefile.introspection | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.introspection') diff --git a/Makefile.introspection b/Makefile.introspection index b23ac020..c018f1d9 100644 --- a/Makefile.introspection +++ b/Makefile.introspection @@ -96,6 +96,7 @@ _gir_silent_compiler_0 = @echo " GICOMP $(1)"; # LIBTOOL - Command to invoke libtool, usually set by automake # 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 used by the scanner # PACKAGES - list of pkg-config names which cflags are required to parse # the headers of this gir # INCLUDES - Gir files to include without the .gir suffix, for instance @@ -125,6 +126,7 @@ $(1): $$($(_gir_name)_FILES) $(_gir_includes) \ $($(_gir_name)_SCANNERFLAGS) \ $($(_gir_name)_CFLAGS) \ + $($(_gir_name)_LDFLAGS) \ $$^ \ --output $(1) endef -- cgit v1.2.1