From: Zdenek Kabelac Date: Fri, 21 Dec 2018 10:24:00 +0000 (+0100) Subject: lvmpolld: improve makefile deps X-Git-Tag: v2_03_03~209 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=98924e4703bd798f4e872fbc7e6c6e32a199e102;p=lvm2.git lvmpolld: improve makefile deps Add correct build dependencies on internal libraries. --- diff --git a/WHATS_NEW b/WHATS_NEW index 38525e3ef..1a9c521b0 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.03.02 - =================================== + Improve Makefile dependency tracking. Move VDO support towards V2 target (6.2) support. Fix missing proper initialization of pv_list struct when adding pv. Fix (de)activation of RaidLVs with visible SubLVs diff --git a/daemons/lvmpolld/Makefile.in b/daemons/lvmpolld/Makefile.in index cfda0f62c..05b12ff2c 100644 --- a/daemons/lvmpolld/Makefile.in +++ b/daemons/lvmpolld/Makefile.in @@ -29,13 +29,12 @@ include $(top_builddir)/make.tmpl CFLAGS += $(EXTRA_EXEC_CFLAGS) INCLUDES += -I$(top_srcdir)/libdaemon/server -LDFLAGS += -L$(top_builddir)/libdaemon/server $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) -LIBS += $(DAEMON_LIBS) -ldaemonserver $(PTHREAD_LIBS) +LDFLAGS += $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) +LIBS += $(DAEMON_LIBS) $(PTHREAD_LIBS) -lvmpolld: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \ - $(top_builddir)/libdaemon/server/libdaemonserver.a +lvmpolld: $(OBJECTS) $(top_builddir)/libdaemon/server/libdaemonserver.a $(INTERNAL_LIBS) @echo " [CC] $@" - $(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(INTERNAL_LIBS) $(LIBS) + $(Q) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $+ $(LIBS) install_lvmpolld: lvmpolld @echo " [INSTALL] $<"