mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
cmirror: link with libdm
Since there is very little change there will be any new devel going
to happing with cmirror - avoid eating extra disk space and link
with already installed libdm which implements all use basic
function of dm list
(cherry picked from commit a8cdd9e16a
)
This commit is contained in:
parent
1a0bf79b72
commit
a81e9e2912
@ -28,10 +28,10 @@ LMLIBS += $(CPG_LIBS)
|
|||||||
CFLAGS += $(CPG_CFLAGS) $(EXTRA_EXEC_CFLAGS)
|
CFLAGS += $(CPG_CFLAGS) $(EXTRA_EXEC_CFLAGS)
|
||||||
LDFLAGS += $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)
|
LDFLAGS += $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)
|
||||||
|
|
||||||
cmirrord: $(OBJECTS) $(top_builddir)/lib/liblvm-internal.a
|
cmirrord: $(OBJECTS)
|
||||||
@echo " [CC] $@"
|
@echo " [CC] $@"
|
||||||
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) \
|
$(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) \
|
||||||
$(LVMLIBS) $(LMLIBS) $(INTERNAL_LIBS) $(LIBS)
|
$(LMLIBS) -L$(top_builddir)/libdm -ldevmapper $(LIBS)
|
||||||
|
|
||||||
install: $(TARGETS)
|
install: $(TARGETS)
|
||||||
@echo " [INSTALL] $<"
|
@echo " [INSTALL] $<"
|
||||||
|
@ -12,8 +12,8 @@
|
|||||||
#ifndef _LVM_CLOG_CLUSTER_H
|
#ifndef _LVM_CLOG_CLUSTER_H
|
||||||
#define _LVM_CLOG_CLUSTER_H
|
#define _LVM_CLOG_CLUSTER_H
|
||||||
|
|
||||||
#include "device_mapper/misc/dm-log-userspace.h"
|
#include "libdm/misc/dm-log-userspace.h"
|
||||||
#include "device_mapper/all.h"
|
#include "libdm/libdevmapper.h"
|
||||||
|
|
||||||
#define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */
|
#define DM_ULOG_RESPONSE 0x1000U /* in last byte of 32-bit value */
|
||||||
#define DM_ULOG_CHECKPOINT_READY 21
|
#define DM_ULOG_CHECKPOINT_READY 21
|
||||||
|
Loading…
Reference in New Issue
Block a user