summaryrefslogtreecommitdiffstats
path: root/daemons/dmeventd/plugins/mirror/Makefile.in
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2008-06-23 09:25:08 +0000
committerJim Meyering <jim@meyering.net>2008-06-23 09:25:08 +0000
commitaa4d1e3106d39cb1ee240597e4af628d4c10f025 (patch)
tree0a29415864834ac0f394123b13477de3a0fbd6eb /daemons/dmeventd/plugins/mirror/Makefile.in
parent2c189a57f443e513881ebbbfcbb822b6fde30a9c (diff)
downloadlvm2-aa4d1e3106d39cb1ee240597e4af628d4c10f025.tar.gz
lvm2-aa4d1e3106d39cb1ee240597e4af628d4c10f025.tar.xz
lvm2-aa4d1e3106d39cb1ee240597e4af628d4c10f025.zip
avoid link failure when configuring without --enable-cmdlib
* configure.in (LVM2CMD_LIB): Define if --enable-cmdlib. * dmeventd/mirror/Makefile.in (CLDFLAGS): Use $(LVM2CMD_LIB) rather than hard-coding -llvm2cmd. * dmeventd/snapshot/Makefile.in (CLDFLAGS): Likewise.
Diffstat (limited to 'daemons/dmeventd/plugins/mirror/Makefile.in')
-rw-r--r--daemons/dmeventd/plugins/mirror/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in
index 5b3c7a0d..baa0a5c8 100644
--- a/daemons/dmeventd/plugins/mirror/Makefile.in
+++ b/daemons/dmeventd/plugins/mirror/Makefile.in
@@ -1,6 +1,6 @@
#
# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
-# Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved.
+# Copyright (C) 2004-2005, 2008 Red Hat, Inc. All rights reserved.
#
# This file is part of LVM2.
#
@@ -17,7 +17,7 @@ top_srcdir = @top_srcdir@
VPATH = @srcdir@
INCLUDES += -I${top_srcdir}/tools
-CLDFLAGS += -L${top_srcdir}/tools -ldevmapper -llvm2cmd
+CLDFLAGS += -L${top_srcdir}/tools -ldevmapper $(LVM2CMD_LIB)
SOURCES = dmeventd_mirror.c
@@ -33,4 +33,3 @@ install: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX)
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/$<.$(LIB_VERSION)
$(LN_S) -f $<.$(LIB_VERSION) $(libdir)/$<
-