summaryrefslogtreecommitdiff
path: root/panels/universal-access
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2017-02-08 19:21:53 +0100
committerBastien Nocera <hadess@hadess.net>2017-02-08 19:21:53 +0100
commit3f0510cac87f3546ada4581c1174d60621c9aa7d (patch)
tree951b4f5d1a918a2e6bca9e3bac34ec4079a6a738 /panels/universal-access
parent33d8c94b3e3777bacfd1ac398b73002a4c0db795 (diff)
downloadgnome-control-center-3f0510cac87f3546ada4581c1174d60621c9aa7d.tar.gz
build: Better libm checks
Use AC_CHECK_LIBM instead of AC_CHECK_LIB(m,... and use $(LIBM) instead of hardcoding "-lm" in Makefiles.
Diffstat (limited to 'panels/universal-access')
-rw-r--r--panels/universal-access/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/panels/universal-access/Makefile.am b/panels/universal-access/Makefile.am
index 5fcc983c0..b0efc5ebf 100644
--- a/panels/universal-access/Makefile.am
+++ b/panels/universal-access/Makefile.am
@@ -20,7 +20,7 @@ libuniversal_access_la_SOURCES = \
zoom-options.c \
zoom-options.h
-libuniversal_access_la_LIBADD = $(PANEL_LIBS) $(UNIVERSAL_ACCESS_PANEL_LIBS)
+libuniversal_access_la_LIBADD = $(PANEL_LIBS) $(UNIVERSAL_ACCESS_PANEL_LIBS) $(LIBM)
resource_files = $(shell glib-compile-resources --sourcedir=$(srcdir) --generate-dependencies $(srcdir)/universal-access.gresource.xml)
cc-ua-resources.c: universal-access.gresource.xml $(resource_files)