[Buildroot] [V2 1/1] package/strongswan: Install libraries to /usr/lib
Sam Voss
sam.voss at rockwellcollins.com
Thu Aug 31 15:18:08 UTC 2017
Install strongswan ipsec libraries into /usr/lib instead of
/usr/lib/ipsec in an effort to not need a custom RPATH for this package.
Signed-off-by: Sam Voss <sam.voss at rockwellcollins.com>
--
v1->v2
Specify plugindir and imcvdir to keep default values to avoid them
moving when ipseclibdir changes.
---
package/strongswan/strongswan.mk | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk
index 1070eea..9fccd99 100644
--- a/package/strongswan/strongswan.mk
+++ b/package/strongswan/strongswan.mk
@@ -36,7 +36,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'
--
1.9.1
More information about the buildroot
mailing list