From c4497ee9e849d2d6c74412de21c6c3823d4de5f1 Mon Sep 17 00:00:00 2001 From: Joe Thornber Date: Fri, 1 Jun 2018 17:20:48 +0100 Subject: [PATCH] build: Link with -lrt Needed for older version of glibc --- make.tmpl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.tmpl.in b/make.tmpl.in index c2d81c0b3..ad927b001 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -58,7 +58,7 @@ PYTHON3 = @PYTHON3@ PYCOMPILE = $(top_srcdir)/autoconf/py-compile LIBS = @LIBS@ -LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) +LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) $(RT_LIBS) # Extra libraries always linked with static binaries STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) DEFS += @DEFS@