[Spice-commits] configure.ac gtk/Makefile.am
Marc-André Lureau
elmarco at kemper.freedesktop.org
Sun Dec 18 09:34:46 PST 2011
configure.ac | 3 +++
gtk/Makefile.am | 5 +++++
2 files changed, 8 insertions(+)
New commits:
commit a1ad3f06e5e087aecacf4532e820792f6738eabd
Author: Frédéric Péters <fpeters at 0d.be>
Date: Sun Dec 18 14:52:45 2011 +0100
add explicit links against libraries that are directly used
diff --git a/configure.ac b/configure.ac
index e38aad1..a7619c1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,6 +64,9 @@ dnl Chek optional features
PKG_CHECK_MODULES(PROTOCOL, spice-protocol >= 0.9.0)
AC_SUBST(PROTOCOL_CFLAGS)
+AC_CHECK_LIBM
+AC_SUBST(LIBM)
+
SPICE_GLIB_REQUIRES=""
SPICE_GTK_REQUIRES=""
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index b780882..224d861 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -99,6 +99,7 @@ SPICE_GTK_LIBADD_COMMON = \
$(GTK_LIBS) \
$(CAIRO_LIBS) \
$(XRANDR_LIBS) \
+ $(LIBM) \
$(NULL)
SPICE_GTK_SOURCES_COMMON = \
@@ -370,6 +371,8 @@ spicy_LDADD = \
libspice-client-glib-2.0.la \
$(XRANDR_LIBS) \
$(GTHREAD_LIBS) \
+ $(GTK_LIBS) \
+ $(LIBM) \
$(NULL)
spicy_CPPFLAGS = \
@@ -413,6 +416,7 @@ snappy_SOURCES = \
snappy_LDADD = \
libspice-client-glib-2.0.la \
+ $(GOBJECT2_LIBS) \
$(NULL)
spicy_stats_SOURCES = \
@@ -423,6 +427,7 @@ spicy_stats_SOURCES = \
spicy_stats_LDADD = \
libspice-client-glib-2.0.la \
+ $(GOBJECT2_LIBS) \
$(NULL)
More information about the Spice-commits
mailing list