master - build: fixes
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1140d70893e4f246a46fa360d20838ceafa690ec Commit: 1140d70893e4f246a46fa360d20838ceafa690ec Parent: eebf070d32b491fb08f7defccc08f9bcefb9aba2 Author: Zdenek Kabelac <[email protected]> AuthorDate: Mon Jun 4 12:25:48 2018 +0200 Committer: Zdenek Kabelac <[email protected]> CommitterDate: Mon Jun 4 12:28:13 2018 +0200
build: fixes
--- daemons/lvmlockd/Makefile.in | 6 ++++-- daemons/lvmpolld/Makefile.in | 3 ++- lib/activate/activate.h | 2 +- lib/metadata/lv.c | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-)
daemons/lvmlockd/Makefile.in +4 -2
@@ -42,10 +42,12 @@ LIBS += $(RT_LIBS) $(DAEMON_LIBS) $(PTHREAD_LIBS) lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \ $(top_builddir)/libdaemon/server/libdaemonserver.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LOCK_LIBS) -ldaemonserver $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LOCK_LIBS) -ldaemonserver \ + $(top_builddir)/device_mapper/libdevice-mapper.a $(LIBS) lvmlockctl: lvmlockctl.o $(top_builddir)/libdaemon/client/libdaemonclient.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ lvmlockctl.o $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ lvmlockctl.o \ + $(top_builddir)/device_mapper/libdevice-mapper.a $(LIBS) install_lvmlockd: lvmlockd $(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F)
daemons/lvmpolld/Makefile.in +2 -1
@@ -34,7 +34,8 @@ LIBS += $(DAEMON_LIBS) -ldaemonserver $(PTHREAD_LIBS) lvmpolld: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \ $(top_builddir)/libdaemon/server/libdaemonserver.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LIBS) + $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) \ + $(top_builddir)/device_mapper/libdevice-mapper.a $(LIBS) install_lvmpolld: lvmpolld $(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F)
lib/activate/activate.h +1 -1
@@ -210,7 +210,7 @@ int monitor_dev_for_events(struct cmd_context *cmd, const struct logical_volume const struct lv_activate_opts *laopts, int monitor);#ifdef DMEVENTD -# include "libdevmapper-event.h" +# include "daemons/dmeventd/libdevmapper-event.h" char *get_monitor_dso_path (struct cmd_context *cmd,int id);int target_registered_with_dmeventd (struct cmd_context *cmd,const char *dso,const struct logical_volume *lv,int *pending,int *monitored);
lib/metadata/lv.c +1 -1
@@ -290,7 +290,7 @@ char *lvseg_cachemode_dup(struct dm_pool *mem, const struct lv_segment *seg) }#ifdef DMEVENTD -# include "libdevmapper-event.h" +# include "daemons/dmeventd/libdevmapper-event.h" #endif char *lvseg_monitor_dup (struct dm_pool *mem,const struct lv_segment *seg) {