summaryrefslogtreecommitdiffstats
path: root/daemons/dmeventd/plugins/mirror/Makefile.in
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-10-09 16:04:54 +0000
committerAlasdair Kergon <agk@redhat.com>2009-10-09 16:04:54 +0000
commit79aa89a62a7eacf0fe62ca97df922517cd2af6ec (patch)
tree2840fb7c6d340279f3138eb2f37ca554f6fc008f /daemons/dmeventd/plugins/mirror/Makefile.in
parentb34447e233bf32d18bfb2210ccb9941eb4a58bd0 (diff)
downloadlvm2-79aa89a62a7eacf0fe62ca97df922517cd2af6ec.tar.gz
lvm2-79aa89a62a7eacf0fe62ca97df922517cd2af6ec.tar.xz
lvm2-79aa89a62a7eacf0fe62ca97df922517cd2af6ec.zip
Extra libs must be appended, not defined first.
Diffstat (limited to 'daemons/dmeventd/plugins/mirror/Makefile.in')
-rw-r--r--daemons/dmeventd/plugins/mirror/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/daemons/dmeventd/plugins/mirror/Makefile.in b/daemons/dmeventd/plugins/mirror/Makefile.in
index 581e5ec5..1fcb5c85 100644
--- a/daemons/dmeventd/plugins/mirror/Makefile.in
+++ b/daemons/dmeventd/plugins/mirror/Makefile.in
@@ -19,7 +19,6 @@ VPATH = @srcdir@
INCLUDES += -I${top_srcdir}/tools
CLDFLAGS += -L${top_builddir}/tools
-LIBS += -ldevmapper @LIB_PTHREAD@ @LVM2CMD_LIB@
SOURCES = dmeventd_mirror.c
@@ -33,6 +32,8 @@ LIB_VERSION = $(LIB_VERSION_LVM)
include $(top_builddir)/make.tmpl
+LIBS += -ldevmapper @LIB_PTHREAD@ @LVM2CMD_LIB@
+
install_lvm2: libdevmapper-event-lvm2mirror.$(LIB_SUFFIX)
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/$<.$(LIB_VERSION)