From: Jiri Kosina Date: Fri, 24 Feb 2017 17:28:54 +0000 (+0100) Subject: iproute2: tc: introduce build dependency on libnetlink X-Git-Tag: v4.11.0~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be67f812978fc7709ca4122b41b136957dd6169b;p=thirdparty%2Fiproute2.git iproute2: tc: introduce build dependency on libnetlink 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 --- diff --git a/tc/Makefile b/tc/Makefile index 6dd984f07..3f7fc939e 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)