mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
build: Use libtool macros to find libm
Instead of using `-lm` everywhere, use LT_LIB_M inside configure.ac, and $(LIBM) inside Makefile.am.
This commit is contained in:
@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user