1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-03 05:18:29 +03:00

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.

(cherry picked from commit 5db56b36f1)
This commit is contained in:
Zdenek Kabelac 2018-12-17 11:41:38 +01:00 committed by Marian Csontos
parent 7d14327dd2
commit 034ea414f6

View File

@ -89,7 +89,7 @@ ifeq ("@STATIC_LINK@", "yes")
INSTALL_CMDLIB_TARGETS += install_cmdlib_static INSTALL_CMDLIB_TARGETS += install_cmdlib_static
endif endif
LVMLIBS = $(LIBS) -laio LVMLIBS = $(SYSTEMD_LIBS) -L$(top_builddir)/libdm -ldevmapper $(LIBS) -laio
LIB_VERSION = $(LIB_VERSION_LVM) LIB_VERSION = $(LIB_VERSION_LVM)
INCLUDES = -I$(top_builddir)/tools INCLUDES = -I$(top_builddir)/tools