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 <paresh.chaudhary@rockwellcollins.com> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
aad4493266
commit
084d53d6e9
|
@ -10,6 +10,7 @@ STRONGSWAN_SITE = http://download.strongswan.org
|
||||||
STRONGSWAN_LICENSE = GPL-2.0+
|
STRONGSWAN_LICENSE = GPL-2.0+
|
||||||
STRONGSWAN_LICENSE_FILES = COPYING LICENSE
|
STRONGSWAN_LICENSE_FILES = COPYING LICENSE
|
||||||
STRONGSWAN_DEPENDENCIES = host-pkgconf
|
STRONGSWAN_DEPENDENCIES = host-pkgconf
|
||||||
|
STRONGSWAN_INSTALL_STAGING = YES
|
||||||
STRONGSWAN_CONF_OPTS += \
|
STRONGSWAN_CONF_OPTS += \
|
||||||
--without-lib-prefix \
|
--without-lib-prefix \
|
||||||
--enable-led \
|
--enable-led \
|
||||||
|
@ -36,7 +37,8 @@ STRONGSWAN_CONF_OPTS += \
|
||||||
--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
|
--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
|
||||||
--with-ipseclibdir=/usr/lib \
|
--with-ipseclibdir=/usr/lib \
|
||||||
--with-plugindir=/usr/lib/ipsec/plugins \
|
--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)
|
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
|
||||||
STRONGSWAN_CONF_ENV += LIBS='-latomic'
|
STRONGSWAN_CONF_ENV += LIBS='-latomic'
|
||||||
|
|
Loading…
Reference in a new issue