[gnome-games] Add libs to LDADD to fix build issues with pedantic linkers



commit 4c13cbc12ce0f14c03bd49d3f2228491435e3e52
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Apr 8 21:03:57 2010 +0200

    Add libs to LDADD to fix build issues with pedantic linkers
    
    GNOME bug #609898
    REDHAT bug #565128

 glines/Makefile.am    |    1 +
 gnect/src/Makefile.am |    4 +++-
 gnobots2/Makefile.am  |    4 +++-
 3 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/glines/Makefile.am b/glines/Makefile.am
index 14acc43..58a6054 100644
--- a/glines/Makefile.am
+++ b/glines/Makefile.am
@@ -31,6 +31,7 @@ glines_LDADD =	\
 	$(top_builddir)/libgames-support/libgames-support.la \
 	$(GTK_LIBS)	\
 	$(INTLLIBS)	\
+	-lm \
 	$(NULL)
 
 if HAVE_GNOME
diff --git a/gnect/src/Makefile.am b/gnect/src/Makefile.am
index 05bb339..2281563 100644
--- a/gnect/src/Makefile.am
+++ b/gnect/src/Makefile.am
@@ -34,7 +34,9 @@ gnect_CFLAGS = \
 gnect_LDADD = \
 	$(top_builddir)/libgames-support/libgames-support.la \
 	$(GTK_LIBS) \
-	$(INTLLIBS)
+	$(INTLLIBS) \
+	-lz \
+	$(NULL)
 
 if HAVE_GNOME
 gnect_CFLAGS += $(GNOME_CFLAGS)
diff --git a/gnobots2/Makefile.am b/gnobots2/Makefile.am
index 86ff5e3..4c5d51d 100644
--- a/gnobots2/Makefile.am
+++ b/gnobots2/Makefile.am
@@ -56,7 +56,9 @@ gnobots2_CFLAGS = \
 gnobots2_LDADD = \
 	$(top_builddir)/libgames-support/libgames-support.la \
 	$(GTK_LIBS) \
-	$(INTLLIBS)
+	$(INTLLIBS) \
+	-lm \
+	$(NULL)
 
 if HAVE_GNOME
 gnobots2_CFLAGS += $(GNOME_CFLAGS)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]