mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Avoid link failure when building fsadm.
* tools/fsadm/Makefile.in (LVMLIBS): Define. (fsadm): Link with $(LVMLIBS). Author: Nix <nix@esperi.org.uk>
This commit is contained in:
parent
216283b651
commit
0fc5422941
@ -20,10 +20,12 @@ SOURCES = fsadm.c
|
||||
|
||||
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 \
|
||||
|
Loading…
Reference in New Issue
Block a user