mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
Fix lvm2.static build.
This commit is contained in:
parent
b6f3ef938a
commit
f622b0de34
@ -119,7 +119,7 @@ lvm: $(OBJECTS) lvm.o $(top_srcdir)/lib/liblvm.a
|
|||||||
LIB_PTHREAD = @LIB_PTHREAD@
|
LIB_PTHREAD = @LIB_PTHREAD@
|
||||||
lvm.static: $(OBJECTS) lvm-static.o $(top_srcdir)/lib/liblvm.a
|
lvm.static: $(OBJECTS) lvm-static.o $(top_srcdir)/lib/liblvm.a
|
||||||
$(CC) -o $@ $(CFLAGS) $(OBJECTS) lvm-static.o -static \
|
$(CC) -o $@ $(CFLAGS) $(OBJECTS) lvm-static.o -static \
|
||||||
$(LDFLAGS) $(LVMLIBS) $(LIBS) $(LIB_PTHREAD) -rdynamic
|
-L$(interfacedir) $(LDFLAGS) $(LVMLIBS) $(LIBS) $(LIB_PTHREAD) -rdynamic
|
||||||
|
|
||||||
liblvm2cmd.a: $(top_srcdir)/lib/liblvm.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
|
liblvm2cmd.a: $(top_srcdir)/lib/liblvm.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o
|
||||||
cat $(top_srcdir)/lib/liblvm.a > $@
|
cat $(top_srcdir)/lib/liblvm.a > $@
|
||||||
|
Loading…
Reference in New Issue
Block a user