aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Sam Voss <sam.voss@rockwellcollins.com>2017-12-12 16:19:38 -0600
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-12-13 14:06:43 +0100
commit738435ad76f6cb4a21841d52612908feb4501b2d (patch)
treef6e2329fcad4614508c30c9cb2e2a4062246c470
parenta4c6ac59e6e056e43c899d0e6c59a7e6139bfd52 (diff)
downloadbuildroot-738435ad76f6cb4a21841d52612908feb4501b2d.tar.gz
buildroot-738435ad76f6cb4a21841d52612908feb4501b2d.tar.bz2
package/strongswan: Install libraries to /usr/lib
Install strongswan ipsec libraries into /usr/lib instead of /usr/lib/ipsec to place them in preferred library common location. Signed-off-by: Sam Voss <sam.voss@rockwellcollins.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/strongswan/strongswan.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk
index 30bbc6c852..65618af33b 100644
--- a/package/strongswan/strongswan.mk
+++ b/package/strongswan/strongswan.mk
@@ -37,7 +37,10 @@ STRONGSWAN_CONF_OPTS += \
--enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \
--enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \
--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
- --enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)
+ --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
ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
STRONGSWAN_CONF_ENV += LIBS='-latomic'