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 <jkosina@suse.cz>
This commit is contained in:
parent
9f1370c0e5
commit
be67f81297
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue