summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorPetr Rockai <prokai@redhat.com>2008-07-09 09:59:42 +0000
committerPetr Rockai <prokai@redhat.com>2008-07-09 09:59:42 +0000
commitefde37880b4d74f1d08bcd0f95866660f867ddd6 (patch)
tree212bada4c2162d874ac70bd80e072611a145950e /daemons
parent7d8f6381be841cca4f768d182d9310f086679dc1 (diff)
downloadlvm2-efde37880b4d74f1d08bcd0f95866660f867ddd6.tar.gz
Fix dmeventd regression where mirror and snapshot monitoring libraries
failed to link against liblvm2cmd. Dmeventd DSOs *require* lvm2cmd to be linked in. For the future: 1) AC_SUBST does not create Makefile variables, only @foo@-style substitutions 2) When using `test', whitespace around `=' is essential: test a=b is true, as is test a=a
Diffstat (limited to 'daemons')
-rw-r--r--daemons/dmeventd/plugins/mirror/Makefile.in2
-rw-r--r--daemons/dmeventd/plugins/snapshot/Makefile.in2
2 files changed, 2 insertions, 2 deletions
diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in
index baa0a5c85..68c15c8df 100644
--- a/daemons/dmeventd/plugins/mirror/Makefile.in
+++ b/daemons/dmeventd/plugins/mirror/Makefile.in
@@ -17,7 +17,7 @@ top_srcdir = @top_srcdir@
VPATH = @srcdir@
INCLUDES += -I${top_srcdir}/tools
-CLDFLAGS += -L${top_srcdir}/tools -ldevmapper $(LVM2CMD_LIB)
+CLDFLAGS += -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@
SOURCES = dmeventd_mirror.c
diff --git a/daemons/dmeventd/plugins/snapshot/Makefile.in b/daemons/dmeventd/plugins/snapshot/Makefile.in
index 379b87e20..48acbbd22 100644
--- a/daemons/dmeventd/plugins/snapshot/Makefile.in
+++ b/daemons/dmeventd/plugins/snapshot/Makefile.in
@@ -17,7 +17,7 @@ top_srcdir = @top_srcdir@
VPATH = @srcdir@
INCLUDES += -I${top_srcdir}/tools
-CLDFLAGS += -L${top_srcdir}/tools -ldevmapper $(LVM2CMD_LIB)
+CLDFLAGS += -L${top_srcdir}/tools -ldevmapper @LVM2CMD_LIB@
SOURCES = dmeventd_snapshot.c