mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
Don't need EXTRA_LIBS as autoconf fills in LIBS for us with all that is needed.
BTW if there are any *real* autoconf experts out there please feel free to flame me.
This commit is contained in:
parent
afe46c849b
commit
79cf96de20
@ -66,7 +66,6 @@ INC_LNS=$(top_srcdir)/include/.symlinks_created
|
|||||||
|
|
||||||
ifeq ("@READLINE@", "yes")
|
ifeq ("@READLINE@", "yes")
|
||||||
CFLAGS += -DREADLINE_SUPPORT
|
CFLAGS += -DREADLINE_SUPPORT
|
||||||
EXTRA_LIBS += -lreadline
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
OBJECTS=$(SOURCES:%.c=%.o)
|
OBJECTS=$(SOURCES:%.c=%.o)
|
||||||
|
@ -53,7 +53,7 @@ include ../make.tmpl
|
|||||||
|
|
||||||
lvm: $(OBJECTS) $(top_srcdir)/lib/liblvm.a
|
lvm: $(OBJECTS) $(top_srcdir)/lib/liblvm.a
|
||||||
$(CC) -o lvm $(OBJECTS) $(LD_FLAGS) -L$(top_srcdir)/lib -llvm \
|
$(CC) -o lvm $(OBJECTS) $(LD_FLAGS) -L$(top_srcdir)/lib -llvm \
|
||||||
-ldevmapper $(EXTRA_LIBS)
|
-ldevmapper $(LIBS)
|
||||||
|
|
||||||
install:
|
install:
|
||||||
$(INSTALL) -c -d $(sbindir);
|
$(INSTALL) -c -d $(sbindir);
|
||||||
|
Loading…
Reference in New Issue
Block a user