summaryrefslogtreecommitdiff
path: root/tools/Makefile.in
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2018-12-17 11:41:38 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2018-12-17 11:41:38 +0100
commit5db56b36f168bddc4364fbffab1fcee07eb1d664 (patch)
tree69e5132c3324438cb0ab56e4b3617ad62f924ed4 /tools/Makefile.in
parent94237354ddbf2abc0f04e7f06ee3c1263dfc6b6e (diff)
downloadlvm2-5db56b36f168bddc4364fbffab1fcee07eb1d664.tar.gz
makefile: fixes build for older system
With older gcc - we need to resolve symbols linked with devmapper-event that is now using -ldevmapper. Also add forgotten systemd library needed for dbus notification.
Diffstat (limited to 'tools/Makefile.in')
-rw-r--r--tools/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index b45798ea4..2620daa17 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -89,7 +89,7 @@ ifeq ("@STATIC_LINK@", "yes")
INSTALL_CMDLIB_TARGETS += install_cmdlib_static
endif
-LVMLIBS = $(LIBS) -laio
+LVMLIBS = $(SYSTEMD_LIBS) -L$(top_builddir)/libdm -ldevmapper $(LIBS) -laio
LIB_VERSION = $(LIB_VERSION_LVM)
INCLUDES = -I$(top_builddir)/tools