public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2/daemons/dmeventd/plugins mirror/Makefile. ...
@ 2009-10-09 16:04 agk
0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2009-10-09 16:04 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2009-10-09 16:04:54
Modified files:
daemons/dmeventd/plugins/mirror: Makefile.in
daemons/dmeventd/plugins/snapshot: Makefile.in
Log message:
Extra libs must be appended, not defined first.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/plugins/mirror/Makefile.in.diff?cvsroot=lvm2&r1=1.11&r2=1.12
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in.diff?cvsroot=lvm2&r1=1.7&r2=1.8
--- LVM2/daemons/dmeventd/plugins/mirror/Makefile.in 2009/10/05 13:46:01 1.11
+++ LVM2/daemons/dmeventd/plugins/mirror/Makefile.in 2009/10/09 16:04:54 1.12
@@ -19,7 +19,6 @@
INCLUDES += -I${top_srcdir}/tools
CLDFLAGS += -L${top_builddir}/tools
-LIBS += -ldevmapper @LIB_PTHREAD@ @LVM2CMD_LIB@
SOURCES = dmeventd_mirror.c
@@ -33,6 +32,8 @@
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)
--- LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in 2009/10/05 13:46:02 1.7
+++ LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in 2009/10/09 16:04:54 1.8
@@ -19,7 +19,6 @@
INCLUDES += -I${top_srcdir}/tools
CLDFLAGS += -L${top_builddir}/tools
-LIBS += -ldevmapper @LIB_PTHREAD@ @LVM2CMD_LIB@
SOURCES = dmeventd_snapshot.c
@@ -33,6 +32,8 @@
include $(top_builddir)/make.tmpl
+LIBS += -ldevmapper @LIB_PTHREAD@ @LVM2CMD_LIB@
+
install_lvm2: libdevmapper-event-lvm2snapshot.$(LIB_SUFFIX)
$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) $< \
$(libdir)/$<.$(LIB_VERSION)
^ permalink raw reply [flat|nested] 2+ messages in thread
* LVM2/daemons/dmeventd/plugins mirror/Makefile. ...
@ 2010-05-11 8:42 zkabelac
0 siblings, 0 replies; 2+ messages in thread
From: zkabelac @ 2010-05-11 8:42 UTC (permalink / raw)
To: lvm-devel, lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: zkabelac@sourceware.org 2010-05-11 08:42:00
Modified files:
daemons/dmeventd/plugins/mirror: Makefile.in
daemons/dmeventd/plugins/snapshot: Makefile.in
Log message:
Plugins do not use pthread or lvm2cmd directly.
Plugins are using pthread and lvm2cmd libraries indirectly
through devmapper-event-lvm2, so link only with libraries used by them.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/plugins/mirror/Makefile.in.diff?cvsroot=lvm2&r1=1.20&r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in.diff?cvsroot=lvm2&r1=1.15&r2=1.16
--- LVM2/daemons/dmeventd/plugins/mirror/Makefile.in 2010/05/06 10:07:47 1.20
+++ LVM2/daemons/dmeventd/plugins/mirror/Makefile.in 2010/05/11 08:41:58 1.21
@@ -30,7 +30,7 @@
include $(top_builddir)/make.tmpl
-LIBS += @LVM2CMD_LIB@ -ldevmapper-event-lvm2 -ldevmapper $(PTHREAD_LIBS)
+LIBS += -ldevmapper-event-lvm2 -ldevmapper
install_lvm2: install_dm_plugin
--- LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in 2010/05/06 10:07:47 1.15
+++ LVM2/daemons/dmeventd/plugins/snapshot/Makefile.in 2010/05/11 08:41:59 1.16
@@ -26,7 +26,7 @@
include $(top_builddir)/make.tmpl
-LIBS += @LVM2CMD_LIB@ -ldevmapper-event-lvm2 -ldevmapper $(PTHREAD_LIBS)
+LIBS += -ldevmapper-event-lvm2 -ldevmapper
install_lvm2: install_dm_plugin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-11 8:42 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-09 16:04 LVM2/daemons/dmeventd/plugins mirror/Makefile. agk
2010-05-11 8:42 zkabelac
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).