[clutter-gst] build: Add -lm dependency to clutter-gst-3.0.la
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gst] build: Add -lm dependency to clutter-gst-3.0.la
- Date: Mon, 1 Dec 2014 14:08:04 +0000 (UTC)
commit b9de8d411b15c54369401ffe2db2e1fdb3d5f07d
Author: Philip Withnall <philip withnall collabora co uk>
Date: Mon Dec 1 11:45:37 2014 +0000
build: Add -lm dependency to clutter-gst-3.0.la
It uses rint(), cos() and sin().
https://bugzilla.gnome.org/show_bug.cgi?id=740963
clutter-gst/Makefile.am | 3 ++-
configure.ac | 2 ++
2 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gst/Makefile.am b/clutter-gst/Makefile.am
index e434408..5a428de 100644
--- a/clutter-gst/Makefile.am
+++ b/clutter-gst/Makefile.am
@@ -90,7 +90,7 @@ AM_CFLAGS = \
lib_LTLIBRARIES = libclutter-gst- CLUTTER_GST_MAJORMINOR@.la
-libclutter_gst_ CLUTTER_GST_MAJORMINOR@_la_LIBADD = @CLUTTER_GST_LIBS@ $(GST_LIBS) $(GUDEV_LIBS) $(HW_LIBS)
+libclutter_gst_ CLUTTER_GST_MAJORMINOR@_la_LIBADD = @CLUTTER_GST_LIBS@ $(GST_LIBS) $(GUDEV_LIBS) $(HW_LIBS)
$(LIBM)
libclutter_gst_ CLUTTER_GST_MAJORMINOR@_la_LDFLAGS = \
$(CLUTTER_GST_LT_LDFLAGS) \
$(GL_LDFLAGS) \
@@ -121,6 +121,7 @@ plugin_LTLIBRARIES = libgstclutter- CLUTTER_GST_MAJORMINOR@.la
libgstclutter_ CLUTTER_GST_MAJORMINOR@_la_LIBADD = \
$(PLUGIN_LIBS) \
$(HW_LIBS) \
+ $(LIBM) \
libclutter-gst- CLUTTER_GST_MAJORMINOR@.la
libgstclutter_ CLUTTER_GST_MAJORMINOR@_la_LDFLAGS = \
$(GL_LDFLAGS) \
diff --git a/configure.ac b/configure.ac
index b8f82e1..a0b5d6e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -140,6 +140,8 @@ AM_CONDITIONAL([HAVE_PYTHON], [test "x$have_python" = "xyes"])
dnl ========================================================================
+LT_LIB_M
+
PKG_CHECK_MODULES(CLUTTER_GST,
[clutter-1.0 >= $CLUTTER_REQ_VERSION
cogl-2.0-experimental >= $COGL_REQ_VERSION
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]