Browse Source

libreswan: fix compilation with Linux 4.14

According to a comment in programs/pluto/kernel_xfrm_interface.c:177:

* IFLA_XFRM_IF_ID was added to mainline kernel 4.19 linux/if_link.h
  with older kernel headers 'make USE_XFRM_INTERFACE_IFLA_HEADER=true'

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
lilik-openwrt-22.03
Eneas U de Queiroz 4 years ago
parent
commit
6df2abceca
No known key found for this signature in database GPG Key ID: 1EB043ABD7ACF202
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      net/libreswan/Makefile

+ 4
- 0
net/libreswan/Makefile View File

@ -81,6 +81,10 @@ MAKE_FLAGS+= \
FINALRUNDIR="/var/run/pluto" \
ARCH="$(LINUX_KARCH)" \
ifdef CONFIG_LINUX_4_14
MAKE_FLAGS+= USE_XFRM_INTERFACE_IFLA_HEADER=true
endif
define Build/Prepare
$(call Build/Prepare/Default)
$(SED) 's,include $$$$(top_srcdir)/mk/manpages.mk,,g' \


Loading…
Cancel
Save