mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
Introduce LVMINTERNAL_LIBS
Keep dependency libraries for liblvm-internal in one place.
This commit is contained in:
parent
c927452439
commit
f0f0b802d1
@ -1,5 +1,6 @@
|
||||
Version 2.02.62 -
|
||||
====================================
|
||||
Define and use internal makefile variable LVMINTERNAL_LIBS.
|
||||
Help for configure prints --disable-fsadm.
|
||||
Use consistently $() instead of ${} for all Makefile variables.
|
||||
Replace CFLOW_CMD only in make.tmpl and use it as variable elsewhere.
|
||||
|
@ -75,7 +75,7 @@ endif
|
||||
TARGETS = \
|
||||
clvmd
|
||||
|
||||
LVMLIBS = -llvm-internal -lpthread
|
||||
LVMLIBS = $(LVMINTERNAL_LIBS) -lpthread
|
||||
|
||||
ifeq ("@DMEVENTD@", "yes")
|
||||
LVMLIBS += -ldevmapper-event
|
||||
|
@ -42,7 +42,7 @@ CLEAN_TARGETS += liblvm.cflow
|
||||
|
||||
include $(top_builddir)/make.tmpl
|
||||
|
||||
LIBS += -ldevmapper -llvm-internal
|
||||
LIBS += $(LVMINTERNAL_LIBS) -ldevmapper
|
||||
|
||||
ifeq ("@DMEVENTD@", "yes")
|
||||
LIBS += -ldevmapper-event
|
||||
|
@ -36,6 +36,7 @@ CLDFLAGS += @CLDFLAGS@
|
||||
LDDEPS += @LDDEPS@
|
||||
LDFLAGS += @LDFLAGS@
|
||||
LIB_SUFFIX = @LIB_SUFFIX@
|
||||
LVMINTERNAL_LIBS = -llvm-internal
|
||||
|
||||
# Setup directory variables
|
||||
prefix = @prefix@
|
||||
|
@ -86,7 +86,7 @@ ifeq ("@STATIC_LINK@", "yes")
|
||||
INSTALL_CMDLIB_TARGETS += install_cmdlib_static
|
||||
endif
|
||||
|
||||
LVMLIBS = -llvm-internal
|
||||
LVMLIBS = $(LVMINTERNAL_LIBS)
|
||||
LIB_VERSION = $(LIB_VERSION_LVM)
|
||||
|
||||
CLEAN_TARGETS = liblvm2cmd.$(LIB_SUFFIX) liblvm2cmd.a liblvm2cmd-static.a lvm lvm.o \
|
||||
|
Loading…
Reference in New Issue
Block a user