[LIBREPORT PATCH] add missing compiler flags for g_type_init() at the right place

Jakub Filak jfilak at redhat.com
Mon Jul 29 07:01:47 UTC 2013


Properly fixes commit 301dc9135a6837a4e3535cb79c4afa847504e20d

Signed-off-by: Jakub Filak <jfilak at redhat.com>
---
 src/lib/Makefile.am | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am
index 6266f6f..261aaf2 100644
--- a/src/lib/Makefile.am
+++ b/src/lib/Makefile.am
@@ -68,11 +68,13 @@ libreport_la_CPPFLAGS = \
     -DDEFAULT_DUMP_DIR_MODE=$(DEFAULT_DUMP_DIR_MODE) \
     -DDUMP_DIR_OWNED_BY_USER=$(DUMP_DIR_OWNED_BY_USER) \
     $(GLIB_CFLAGS) \
+    $(GOBJECT_CFLAGS) \
     -D_GNU_SOURCE
 libreport_la_LDFLAGS = \
     -version-info 0:1:0
 libreport_la_LIBADD = \
-    $(GLIB_LIBS)
+    $(GLIB_LIBS) \
+    $(GOBJECT_LIBS)
 
 libreportconfdir = $(CONF_DIR)
 dist_libreportconf_DATA = \
@@ -118,7 +120,6 @@ libreport_web_la_CPPFLAGS = \
     -DPLUGINS_CONF_DIR=\"$(PLUGINS_CONF_DIR)\" \
     -DEVENTS_DIR=\"$(EVENTS_DIR)\" \
     $(GLIB_CFLAGS) \
-    $(GOBJECT_CFLAGS) \
     $(CURL_CFLAGS) \
     $(PROXY_CFLAGS) \
     $(LIBXML_CFLAGS) \
@@ -130,7 +131,6 @@ libreport_web_la_LDFLAGS = \
     -version-info 0:1:0
 libreport_web_la_LIBADD = \
     $(GLIB_LIBS) \
-    $(GOBJECT_LIBS) \
     $(CURL_LIBS) \
     $(PROXY_LIBS) \
     $(LIBXML_LIBS) \
-- 
1.8.3.1



More information about the Crash-catcher mailing list