diff options
author | Serhey Popovych <serhe.popovych@gmail.com> | 2018-02-15 23:23:21 +0200 |
---|---|---|
committer | David Ahern <dsahern@gmail.com> | 2018-02-16 08:14:18 -0800 |
commit | 0cec58dac4c249a6773a39e00b0f13530534cda7 (patch) | |
tree | 146873ded6347d7de9a7581ca0862606144c4adb /Makefile | |
parent | 1bccd1e43b949cc3696f5060fe0928439e6f7bef (diff) | |
download | iproute2-0cec58dac4c249a6773a39e00b0f13530534cda7.tar.gz |
lib: Correct object file dependencies
Neither internal libnetlink nor libgenl depends on ll_map.o: prepare for
upcoming changes that brings much more cleaner dependency between
utils.o and ll_map.o.
However ll_map.o depends on libnetlink.o functions so we need to provide
libnetlink.a after libutil.a in LIBNETLINK at global Makefile.
Tested using make clean && make -j4. No problems so far.
Signed-off-by: Serhey Popovych <serhe.popovych@gmail.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ YACCFLAGS = -d -t -v SUBDIRS=lib ip tc bridge misc netem genl tipc devlink rdma man -LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a +LIBNETLINK=../lib/libutil.a ../lib/libnetlink.a LDLIBS += $(LIBNETLINK) all: config.mk |