[gnome-games/gnome-2-28] libgames-support: link to ggz properly



commit dd1fc83bc844c5398a8cdaa8c5ea74fee8d52d5e
Author: Luca Bruno <lethalman88 gmail com>
Date:   Wed Dec 16 17:56:40 2009 -0600

    libgames-support: link to ggz properly
    
    Makefile.am is using $(GGZMOD_LIBS) etc. instead of $(LIB_GGZMOD) (that's why
    maybe you added -lggzmod).
    
    This will lead to a failed linking for undefined symbol _ggz_malloc, because of
    no -lggz.

 libgames-support/Makefile.am |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgames-support/Makefile.am b/libgames-support/Makefile.am
index 18b5a14..380b2a4 100644
--- a/libgames-support/Makefile.am
+++ b/libgames-support/Makefile.am
@@ -150,10 +150,10 @@ libgames_support_la_CFLAGS += 	\
 	$(GGZCORE_INCLUDES)	\
 	$(LIBGGZ_INCLUDES)
 libgames_support_la_LIBADD += 	\
-	$(GGZMOD_LIBS) 	\
-	$(GGZ_GTK_LIBS) 	\
-	$(GGZCORE_LIBS)	\
-	$(LIBGGZ_LIBS) -lggzmod
+	$(LIB_GGZMOD)		\
+	$(LIB_GGZ_GTK)		\
+	$(LIB_GGZCORE)		\
+	$(LIB_GGZ)
 endif
 endif
 



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