commit: 15e711d0a04a220cf274df3d0af9a13e20d9387d
parent 1c38f4ecffc9e42976a74ad32f0660660c1f1e63
Author: Michael Forney <mforney@mforney.org>
Date: Sun, 17 Mar 2024 12:48:47 -0700
iproute2: Fix build
Accidentally stashed these fixes while working on other stuff.
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git 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