From e92fb1f90f1b51cd111105d86c058fdca6f3434a Mon Sep 17 00:00:00 2001 From: Baruch Siach Date: Fri, 27 Jun 2014 10:30:30 +0300 Subject: [PATCH] radvd: fix build against older glibc clock_gettime() requires -lrt when linking against glibc older than 2.17. Fixes: http://autobuild.buildroot.net/results/e07/e07dd9a82ae4c8778b6901b9bd777f5affb9293a/ [Peter: add comment in .mk as well] Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- package/radvd/radvd.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/radvd/radvd.mk b/package/radvd/radvd.mk index 5958d9145b..a42d8583f7 100644 --- a/package/radvd/radvd.mk +++ b/package/radvd/radvd.mk @@ -8,6 +8,8 @@ RADVD_VERSION = 1.13 RADVD_SOURCE = radvd-$(RADVD_VERSION).tar.xz RADVD_SITE = http://www.litech.org/radvd/dist RADVD_DEPENDENCIES = host-bison flex libdaemon host-flex host-pkgconf +# clock_gettime() requires -lrt when linking against glibc older than 2.17 +RADVD_CONF_ENV = LIBS=-lrt define RADVD_INSTALL_INITSCRIPT $(INSTALL) -m 0755 package/radvd/S50radvd $(TARGET_DIR)/etc/init.d -- 2.30.2