]> sourceware.org Git - lvm2.git/commitdiff
Plugins do not use pthread or lvm2cmd directly.
authorZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 May 2010 08:41:58 +0000 (08:41 +0000)
committerZdenek Kabelac <zkabelac@redhat.com>
Tue, 11 May 2010 08:41:58 +0000 (08:41 +0000)
Plugins are using pthread and lvm2cmd libraries indirectly
through devmapper-event-lvm2, so link only with libraries used by them.

daemons/dmeventd/plugins/mirror/Makefile.in
daemons/dmeventd/plugins/snapshot/Makefile.in

index 5966f245a83717dbcddf446b6e72740120652a60..3c3d468f5b7c99329d15e378295a89e00de15590 100644 (file)
@@ -30,7 +30,7 @@ CFLOW_LIST_TARGET = $(LIB_NAME).cflow
 
 include $(top_builddir)/make.tmpl
 
-LIBS += @LVM2CMD_LIB@ -ldevmapper-event-lvm2 -ldevmapper $(PTHREAD_LIBS)
+LIBS += -ldevmapper-event-lvm2 -ldevmapper
 
 install_lvm2: install_dm_plugin
 
index 32a74af2bfbd1cea474377616417b0c073297aa7..87a55e747249ca4ade34dff9f8f5892dded3eb69 100644 (file)
@@ -26,7 +26,7 @@ LIB_VERSION = $(LIB_VERSION_LVM)
 
 include $(top_builddir)/make.tmpl
 
-LIBS += @LVM2CMD_LIB@ -ldevmapper-event-lvm2 -ldevmapper $(PTHREAD_LIBS)
+LIBS += -ldevmapper-event-lvm2 -ldevmapper
 
 install_lvm2: install_dm_plugin
 
This page took 0.037673 seconds and 5 git commands to generate.