aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile.rules
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2016-06-19 18:03:51 +0800
committerIan Kent <raven@themaw.net>2016-06-29 10:47:57 +0800
commit52a697a7e6fd31a27030f3d1b1c4e572b1123148 (patch)
treeb3d742a7e15f7a785d4ef3af1042a7e1ca97cbd2 /Makefile.rules
parent6af0b7db1b714d5e6340575544ac50c6714fa6a8 (diff)
downloadautofs-52a697a7e6fd31a27030f3d1b1c4e572b1123148.tar.gz
autofs-5.1.2 - build: check for clock_gettime in librt
Glibc versions older than 2.17 define clock_gettime() in librt, so add a check for this. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Ian Kent <raven@themaw.net>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 6fa3e028..7d1af2e0 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -56,6 +56,8 @@ endif
LIBS += $(LIBNSL)
+LIBS += $(LIBCLOCK_GETTIME)
+
# Standard rules
.SUFFIXES: .c .o .s .so