mirror of
https://github.com/novatiq/packages.git
synced 2026-04-29 23:18:42 +01:00
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>
This commit is contained in:
@@ -81,6 +81,10 @@ MAKE_FLAGS+= \
|
|||||||
FINALRUNDIR="/var/run/pluto" \
|
FINALRUNDIR="/var/run/pluto" \
|
||||||
ARCH="$(LINUX_KARCH)" \
|
ARCH="$(LINUX_KARCH)" \
|
||||||
|
|
||||||
|
ifdef CONFIG_LINUX_4_14
|
||||||
|
MAKE_FLAGS+= USE_XFRM_INTERFACE_IFLA_HEADER=true
|
||||||
|
endif
|
||||||
|
|
||||||
define Build/Prepare
|
define Build/Prepare
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
$(SED) 's,include $$$$(top_srcdir)/mk/manpages.mk,,g' \
|
$(SED) 's,include $$$$(top_srcdir)/mk/manpages.mk,,g' \
|
||||||
|
|||||||
Reference in New Issue
Block a user