[lvm-devel] master - build: make sure selinux, udev and blkid libraries are linked.

Joe Thornber thornber at sourceware.org
Fri Jun 1 15:55:17 UTC 2018


Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=15a8142f6df6d7ce26ca71f2434d6cd44ef2265c
Commit:        15a8142f6df6d7ce26ca71f2434d6cd44ef2265c
Parent:        dbba1e9b93bac348c0df556b160676234cc8a8c4
Author:        Joe Thornber <ejt at redhat.com>
AuthorDate:    Fri Jun 1 16:53:20 2018 +0100
Committer:     Joe Thornber <ejt at redhat.com>
CommitterDate: Fri Jun 1 16:53:20 2018 +0100

build: make sure selinux, udev and blkid libraries are linked.

Fixes breakage from the recent libdm split.  Though these didn't
ever appear to be linked (could they have piggy backed from libdevmapper.so
being linked to them?).
---
 make.tmpl.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/make.tmpl.in b/make.tmpl.in
index 10075d4..c2d81c0 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -58,6 +58,7 @@ PYTHON3 = @PYTHON3@
 PYCOMPILE = $(top_srcdir)/autoconf/py-compile
 
 LIBS = @LIBS@
+LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_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