[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] LVM2/test/api Makefile.in



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	zkabelac sourceware org	2011-11-23 13:02:17

Modified files:
	test/api       : Makefile.in 

Log message:
	Put back devmapper-event linkage
	
	Older systems are not able to get this library from lvm2api library and need
	this library to be passed to the linker (i.e. Debian Lenny).

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/test/api/Makefile.in.diff?cvsroot=lvm2&r1=1.23&r2=1.24

--- LVM2/test/api/Makefile.in	2011/11/23 12:21:41	1.23
+++ LVM2/test/api/Makefile.in	2011/11/23 13:02:17	1.24
@@ -28,7 +28,14 @@
 DEFS += -D_REENTRANT
 DEPLIBS += $(top_builddir)/liblvm/liblvm2app.so $(top_builddir)/libdm/libdevmapper.so
 LDFLAGS += -L$(top_builddir)/liblvm
-LVMLIBS = @LVM2APP_LIB@ -ldevmapper $(LIBS)
+LVMLIBS = @LVM2APP_LIB@ -ldevmapper
+
+ifeq ("@DMEVENTD@", "yes")
+       LVMLIBS += -ldevmapper-event
+       LDFLAGS += -L$(top_builddir)/daemons/dmeventd
+endif
+
+LVMLIBS += $(LIBS)
 
 %.t: %.o $(DEPLIBS)
 	$(CC) -o $@ $(<) $(LDFLAGS) $(LVMLIBS)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]