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

[lvm-devel] LVM2/tools/fsadm Makefile.in



CVSROOT:	/cvs/lvm2
Module name:	LVM2
Changes by:	meyering sourceware org	2007-10-03 09:46:58

Modified files:
	tools/fsadm    : Makefile.in 

Log message:
	Avoid link failure when building fsadm.
	
	* tools/fsadm/Makefile.in (LVMLIBS): Define.
	(fsadm): Link with $(LVMLIBS).
	
	Author: Nix <nix esperi org uk>

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/tools/fsadm/Makefile.in.diff?cvsroot=lvm2&r1=1.3&r2=1.4

--- LVM2/tools/fsadm/Makefile.in	2007/09/21 10:16:45	1.3
+++ LVM2/tools/fsadm/Makefile.in	2007/10/03 09:46:57	1.4
@@ -20,10 +20,12 @@
 
 TARGETS = fsadm
 
+LVMLIBS = -llvm
+
 include $(top_srcdir)/make.tmpl
 
 fsadm: $(OBJECTS)
-	$(CC) -o $@ $(CFLAGS) $(OBJECTS) -rdynamic
+	$(CC) -o $@ $(CFLAGS) $(OBJECTS) $(LDFLAGS) $(LVMLIBS) -rdynamic
 
 install: fsadm
 	$(INSTALL) -D $(OWNER) $(GROUP) -m 555 $(STRIP) fsadm \


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