summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2015-03-03 17:23:37 +0000
committerEmmanuele Bassi <ebassi@gnome.org>2015-03-03 17:23:37 +0000
commitdf15f04fc0474be09e6839618c598d43aee920e5 (patch)
tree1b0003145823ae47daaa48d3ed2ccd69b0b3f348 /doc
parent4591435c35b920e21a8885e58ebd7779acc2a7a5 (diff)
downloadclutter-df15f04fc0474be09e6839618c598d43aee920e5.tar.gz
build: Use libtool macros to find libm
Instead of using `-lm` everywhere, use LT_LIB_M inside configure.ac, and $(LIBM) inside Makefile.am.
Diffstat (limited to 'doc')
-rw-r--r--doc/cookbook/examples/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/cookbook/examples/Makefile.am b/doc/cookbook/examples/Makefile.am
index 236edf27a..0d97ce6be 100644
--- a/doc/cookbook/examples/Makefile.am
+++ b/doc/cookbook/examples/Makefile.am
@@ -56,7 +56,7 @@ all_examples = \
events-buttons-lasso \
$(NULL)
-LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_API_VERSION@.la -lm
+LDADD = $(top_builddir)/clutter/libclutter-@CLUTTER_API_VERSION@.la $(LIBM)
AM_CFLAGS = $(CLUTTER_CFLAGS)