mirror of
git://sourceware.org/git/lvm2.git
synced 2025-04-01 18:50:41 +03:00
Fix build failure when enabling dmeventd and applib.
This patch fixes a build with options similar to the following: ./configure --enable-debug --enable-applib --enable-dmeventd --enable-cmdlib
This commit is contained in:
parent
013f27e3e6
commit
36d336618e
@ -42,6 +42,10 @@ include $(top_srcdir)/make.tmpl
|
||||
|
||||
LIBS += -ldevmapper -llvm-internal
|
||||
|
||||
ifeq ("@DMEVENTD@", "yes")
|
||||
LIBS += -ldevmapper-event
|
||||
endif
|
||||
|
||||
$(VERSIONED_SHLIB): %.$(LIB_SUFFIX).$(LIB_VERSION_APP): %.$(LIB_SUFFIX)
|
||||
rm -f $@
|
||||
$(LN_S) $< $@
|
||||
|
@ -33,6 +33,11 @@ include $(top_srcdir)/make.tmpl
|
||||
|
||||
LDFLAGS = -L$(top_srcdir)/libdm -L$(top_srcdir)/liblvm
|
||||
|
||||
ifeq ("@DMEVENTD@", "yes")
|
||||
LVMLIBS += -ldevmapper-event -lpthread
|
||||
LDFLAGS += -L$(top_srcdir)/daemons/dmeventd
|
||||
endif
|
||||
|
||||
test_OBJECTS = $(test_SOURCES:.c=.o)
|
||||
vgtest_OBJECTS = $(vgtest_SOURCES:.c=.o)
|
||||
OBJECTS = $(test_OBJECTS) $(vgtest_OBJECTS)
|
||||
|
Loading…
x
Reference in New Issue
Block a user