diff --git a/make.tmpl.in b/make.tmpl.in index a390553a4..869b87e12 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -298,9 +298,7 @@ endif endif ifeq ("@BUILD_DMEVENTD@", "yes") - DMEVENT_LIBS = -ldevmapper-event -L$(interfacebuilddir) -ldevmapper - LDFLAGS += -L$(top_builddir)/daemons/dmeventd - CLDFLAGS += -L$(top_builddir)/daemons/dmeventd + DMEVENT_LIBS = -L$(top_builddir)/daemons/dmeventd -ldevmapper-event -L$(interfacebuilddir) -ldevmapper endif # Combination of DEBUG_POOL and DEBUG_ENFORCE_POOL_LOCKING is not suppored.