aboutsummaryrefslogtreecommitdiff
path: root/package/openvpn
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo@zacarias.com.ar>2014-07-09 09:13:17 -0300
committerGravatar Peter Korsgaard <peter@korsgaard.com>2014-07-09 15:46:33 +0200
commit93d23777811176d6f24b64f0ee54261bee0bff1c (patch)
tree13ad58a2ef67f2366dd9322c852acc667ed77e07 /package/openvpn
parente30dc8e75f415c5488de96f11bfdaac0e5b00450 (diff)
downloadbuildroot-93d23777811176d6f24b64f0ee54261bee0bff1c.tar.gz
buildroot-93d23777811176d6f24b64f0ee54261bee0bff1c.tar.bz2
openvpn: disable plugins for static builds
Fixes: http://autobuild.buildroot.net/results/082/08295cdcb3d14198bc7fbddec89d6fead946afba/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/openvpn')
-rw-r--r--package/openvpn/openvpn.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 3cb78a5022..d2c408b30d 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -10,7 +10,8 @@ OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
OPENVPN_DEPENDENCIES = host-pkgconf
OPENVPN_LICENSE = GPLv2
OPENVPN_LICENSE_FILES = COPYRIGHT.GPL
-OPENVPN_CONF_OPT = --disable-plugin-auth-pam --enable-iproute2
+OPENVPN_CONF_OPT = --disable-plugin-auth-pam --enable-iproute2 \
+ $(if $(BR2_PREFER_STATIC_LIB),--disable-plugins)
OPENVPN_CONF_ENV = IFCONFIG=/sbin/ifconfig \
NETSTAT=/bin/netstat \
ROUTE=/sbin/route