summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-06-01 17:20:48 +0100
committerJoe Thornber <ejt@redhat.com>2018-06-01 17:20:48 +0100
commitc4497ee9e849d2d6c74412de21c6c3823d4de5f1 (patch)
tree20f2d94871276d3576421aff98afd638d562cbad /make.tmpl.in
parent15a8142f6df6d7ce26ca71f2434d6cd44ef2265c (diff)
downloadlvm2-c4497ee9e849d2d6c74412de21c6c3823d4de5f1.tar.gz
build: Link with -lrt
Needed for older version of glibc
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in2
1 files changed, 1 insertions, 1 deletions
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@