diff options
author | Gustavo Zacarias <gustavo@zacarias.com.ar> | 2016-06-19 18:03:51 +0800 |
---|---|---|
committer | Ian Kent <raven@themaw.net> | 2016-06-29 10:47:57 +0800 |
commit | 52a697a7e6fd31a27030f3d1b1c4e572b1123148 (patch) | |
tree | b3d742a7e15f7a785d4ef3af1042a7e1ca97cbd2 /Makefile.rules | |
parent | 6af0b7db1b714d5e6340575544ac50c6714fa6a8 (diff) | |
download | autofs-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.rules | 2 |
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 |