[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.20.1702241826540.24579@cbobk.fhfr.pm>
Date: Fri, 24 Feb 2017 18:28:54 +0100 (CET)
From: Jiri Kosina <jikos@...nel.org>
To: Stephen Hemminger <stephen@...workplumber.org>
cc: netdev@...r.kernel.org
Subject: [PATCH] iproute2: tc: introduce build dependency on libnetlink
From: Jiri Kosina <jkosina@...e.cz>
Rebuilding libnetlink doesn't trigger rebuild of tc, which is wrong
(especially so for builds where libnetlink.a gets statically linked into
tc). Fix that by introducing an explicit dependency.
Signed-off-by: Jiri Kosina <jkosina@...e.cz>
---
tc/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tc/Makefile b/tc/Makefile
index 6dd984f0..3f7fc939 100644
--- a/tc/Makefile
+++ b/tc/Makefile
@@ -127,7 +127,7 @@ MODDESTDIR := $(DESTDIR)$(LIBDIR)/tc
all: tc $(TCSO)
-tc: $(TCOBJ) libtc.a
+tc: $(TCOBJ) $(LIBNETLINK) libtc.a
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
libtc.a: $(TCLIB)
--
Jiri Kosina
SUSE Labs
Powered by blists - more mailing lists