From 15e711d0a04a220cf274df3d0af9a13e20d9387d Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Sun, 17 Mar 2024 12:48:47 -0700 Subject: iproute2: Fix build Accidentally stashed these fixes while working on other stuff. --- pkg/iproute2/gen.lua | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkg/iproute2') diff --git a/pkg/iproute2/gen.lua b/pkg/iproute2/gen.lua index d3064643..b49f6476 100644 --- a/pkg/iproute2/gen.lua +++ b/pkg/iproute2/gen.lua @@ -9,8 +9,8 @@ cflags{ [[-D 'CONF_USR_DIR="/share/iproute2"']], [[-D 'CONF_ETC_DIR="/etc/iproute2"']], [[-D 'NETNS_RUN_DIR="/run/netns"']], - [[-D 'NETNS_RUN_DIR="/etc/netns"']], - '-D CONF_COLOR:=COLOR_OPT_AUTO', + [[-D 'NETNS_ETC_DIR="/etc/netns"']], + '-D CONF_COLOR=COLOR_OPT_AUTO', '-I $srcdir/include', '-I $srcdir/include/uapi', '-I $srcdir/misc', @@ -27,6 +27,9 @@ lib('libnetlink.a', [[lib/( utils.c utils_math.c rt_names.c ll_map.c ll_types.c ll_proto.c ll_addr.c inet_proto.c namespace.c json_writer.c json_print.c json_print_math.c names.c color.c bpf_legacy.c bpf_glue.c exec.c fs.c cg_map.c ppp_proto.c + + selinux.c + ax25_ntop.c rose_ntop.c mpls_ntop.c mpls_pton.c -- cgit v1.2.3