From 31410447fd5719368baf07ba34004330958fbcf1 Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Mon, 12 Apr 2021 10:35:55 +0200 Subject: [PATCH] makefiles: add devmapper for devmapper-event Older linkers do not take this dependency automatically from libdevmapper-event so need to be passed with linker command. --- make.tmpl.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.tmpl.in b/make.tmpl.in index 6145b0bd5..200ea2e05 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -269,7 +269,7 @@ endif endif ifeq ("@BUILD_DMEVENTD@", "yes") - DMEVENT_LIBS = -ldevmapper-event + DMEVENT_LIBS = -ldevmapper-event -L$(interfacebuilddir) -ldevmapper LDFLAGS += -L$(top_builddir)/daemons/dmeventd CLDFLAGS += -L$(top_builddir)/daemons/dmeventd endif