summaryrefslogtreecommitdiff
path: root/pkg/iproute2
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-03-17 12:48:47 -0700
committerMichael Forney <mforney@mforney.org>2024-03-17 12:49:07 -0700
commit15e711d0a04a220cf274df3d0af9a13e20d9387d (patch)
treeb3109c349f6f31f0d27d76e2af0cf9ee906928ec /pkg/iproute2
parent1c38f4ecffc9e42976a74ad32f0660660c1f1e63 (diff)
iproute2: Fix build
Accidentally stashed these fixes while working on other stuff.
Diffstat (limited to 'pkg/iproute2')
-rw-r--r--pkg/iproute2/gen.lua7
1 files changed, 5 insertions, 2 deletions
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