summaryrefslogtreecommitdiff
path: root/make.tmpl.in
diff options
context:
space:
mode:
authorJoe Thornber <ejt@redhat.com>2018-06-01 16:53:20 +0100
committerJoe Thornber <ejt@redhat.com>2018-06-01 16:53:20 +0100
commit15a8142f6df6d7ce26ca71f2434d6cd44ef2265c (patch)
treeec0ed5ecf191ad0c689d8be86f2445b6e79ecd07 /make.tmpl.in
parentdbba1e9b93bac348c0df556b160676234cc8a8c4 (diff)
downloadlvm2-15a8142f6df6d7ce26ca71f2434d6cd44ef2265c.tar.gz
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?).
Diffstat (limited to 'make.tmpl.in')
-rw-r--r--make.tmpl.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in
index 10075d4a1..c2d81c0b3 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@