mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-18 10:04:20 +03:00
dmeventd was looking for dsos with libdmeventd<name>.so
The Makefile turned noop.c into libdmeventnoop.so The Makefile now turns noop.c into libdmeventdnoop.so
This commit is contained in:
parent
64f4fd6e2b
commit
4396ee160a
@ -23,16 +23,16 @@ SOURCES = noop.c
|
|||||||
CLEAN_TARGETS = dmevent.o dmeventd.o
|
CLEAN_TARGETS = dmevent.o dmeventd.o
|
||||||
|
|
||||||
ifeq ("@LIB_SUFFIX@","dylib")
|
ifeq ("@LIB_SUFFIX@","dylib")
|
||||||
LIB_SHARED = libdmeventnoop.dylib
|
LIB_SHARED = libdmeventdnoop.dylib
|
||||||
else
|
else
|
||||||
LIB_SHARED = libdmeventnoop.so
|
LIB_SHARED = libdmeventdnoop.so
|
||||||
endif
|
endif
|
||||||
|
|
||||||
LDFLAGS += -ldl -ldevmapper -lpthread
|
LDFLAGS += -ldl -ldevmapper -lpthread
|
||||||
|
|
||||||
include ../make.tmpl
|
include ../make.tmpl
|
||||||
|
|
||||||
libdmeventnoop.so: noop.o
|
libdmeventdnoop.so: noop.o
|
||||||
|
|
||||||
dmevent: dmevent.o $(interfacedir)/libdevmapper.$(LIB_SUFFIX) $(top_srcdir)/lib/event/libdmevent.$(LIB_SUFFIX)
|
dmevent: dmevent.o $(interfacedir)/libdevmapper.$(LIB_SUFFIX) $(top_srcdir)/lib/event/libdmevent.$(LIB_SUFFIX)
|
||||||
$(CC) -o $@ dmevent.o $(LDFLAGS) \
|
$(CC) -o $@ dmevent.o $(LDFLAGS) \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user