package/openvpn: dco needs headers >= 4.16
NLMSGERR_ATTR_MAX has been added in kernel 4.16 withdc2b9f19e3
resulting in the following build failure since bump to version 2.6.4 in commita46ac23465
ande34437c26b
: dco_linux.c: In function 'ovpn_nl_cb_error': dco_linux.c:303:27: error: 'NLMSGERR_ATTR_MAX' undeclared (first use in this function); did you mean '__CTRL_ATTR_MAX'? struct nlattr *tb_msg[NLMSGERR_ATTR_MAX + 1]; ^~~~~~~~~~~~~~~~~ __CTRL_ATTR_MAX Fixes: - http://autobuild.buildroot.org/results/69b9737913ac0b5cd2c117d526602874da3ee487 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
487c12a1f2
commit
45c41098ef
@ -16,7 +16,7 @@ OPENVPN_CONF_OPTS = \
|
||||
$(if $(BR2_STATIC_LIBS),--disable-plugins)
|
||||
OPENVPN_CONF_ENV = NETSTAT=/bin/netstat
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBNL),y)
|
||||
ifeq ($(BR2_PACKAGE_LIBNL)$(BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_16),yy)
|
||||
OPENVPN_CONF_OPTS += --enable-dco
|
||||
OPENVPN_DEPENDENCIES += libnl
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user