From 084d53d6e9b9307e9ed4c4518731ba5f928043a1 Mon Sep 17 00:00:00 2001 From: Matt Weber Date: Thu, 20 Sep 2018 10:16:27 -0500 Subject: [PATCH] package/strongswan: install dev headers Adds '--with-dev-headers' configure option to install development headers into staging. The package provides these headers to enable linking against pluggins. Signed-off-by: Paresh Chaudhary Signed-off-by: Matthew Weber Signed-off-by: Thomas Petazzoni --- package/strongswan/strongswan.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk index 5c597d572a..632a742e9c 100644 --- a/package/strongswan/strongswan.mk +++ b/package/strongswan/strongswan.mk @@ -10,6 +10,7 @@ STRONGSWAN_SITE = http://download.strongswan.org STRONGSWAN_LICENSE = GPL-2.0+ STRONGSWAN_LICENSE_FILES = COPYING LICENSE STRONGSWAN_DEPENDENCIES = host-pkgconf +STRONGSWAN_INSTALL_STAGING = YES STRONGSWAN_CONF_OPTS += \ --without-lib-prefix \ --enable-led \ @@ -36,7 +37,8 @@ STRONGSWAN_CONF_OPTS += \ --enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \ --with-ipseclibdir=/usr/lib \ --with-plugindir=/usr/lib/ipsec/plugins \ - --with-imcvdir=/usr/lib/ipsec/imcvs + --with-imcvdir=/usr/lib/ipsec/imcvs \ + --with-dev-headers=/usr/include ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) STRONGSWAN_CONF_ENV += LIBS='-latomic'