[lvm-devel] master - build: Link with -lrt
Joe Thornber
thornber at sourceware.org
Fri Jun 1 16:21:22 UTC 2018
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=c4497ee9e849d2d6c74412de21c6c3823d4de5f1
Commit: c4497ee9e849d2d6c74412de21c6c3823d4de5f1
Parent: 15a8142f6df6d7ce26ca71f2434d6cd44ef2265c
Author: Joe Thornber <ejt at redhat.com>
AuthorDate: Fri Jun 1 17:20:48 2018 +0100
Committer: Joe Thornber <ejt at redhat.com>
CommitterDate: Fri Jun 1 17:20:48 2018 +0100
build: Link with -lrt
Needed for older version of glibc
---
make.tmpl.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/make.tmpl.in b/make.tmpl.in
index c2d81c0..ad927b0 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@
More information about the lvm-devel
mailing list