Always link against libm
authorStefan Hajnoczi <stefanha@gmail.com>
Sun, 23 May 2010 16:30:43 +0000 (17:30 +0100)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Tue, 25 May 2010 14:37:11 +0000 (10:37 -0400)
This patch makes builds --without-lttv-gui work by linking against libm.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
configure.ac

index 69d3809a4ce86829ba0b42509c4fa678595f4337..b3b86fb41ca88522a0df636c12bc40d3ef5422a1 100644 (file)
@@ -156,7 +156,7 @@ fi
 pkg_modules="gobject-2.0 >= 2.0.0"
 PKG_CHECK_MODULES(GOBJECT, [$pkg_modules])
 
-LIBS="$LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS"
+LIBS="$LIBS $M_LIBS $GTK_LIBS $GOBJECT_LIBS $GMODULE_LIBS"
 PACKAGE_CFLAGS="$GTK_CFLAGS $GOBJECT_CFLAGS $GMODULE_CFLAGS -Wall -Wformat"
 MODULE_CFLAGS="$PACKAGE_CFLAGS -fvisibility=hidden"
 MODULE_LDFLAGS="-module -avoid-version"
This page took 0.024233 seconds and 4 git commands to generate.