]> sourceware.org Git - lvm2.git/commitdiff
lvmpolld: improve makefile deps
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 21 Dec 2018 10:24:00 +0000 (11:24 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Fri, 21 Dec 2018 20:42:23 +0000 (21:42 +0100)
Add correct build dependencies on internal libraries.

WHATS_NEW
daemons/lvmpolld/Makefile.in

index 38525e3ef4ba76117f9eea8d08452927f37906e7..1a9c521b0c6c24dd0e2fd713e3316e26d481d41b 100644 (file)
--- 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
index cfda0f62cb48b6f4404e13415c9c4d20188cb953..05b12ff2c0ad591c05449393a17e6bfc971cff1c 100644 (file)
@@ -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] $<"
This page took 0.047794 seconds and 5 git commands to generate.