summaryrefslogtreecommitdiff
path: root/pkg/thirdparty/openvpn
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2017-12-04 19:31:18 +0100
committerKali Kaneko <kali@leap.se>2017-12-04 19:38:28 +0100
commitdf5b388dd0d46c1df5e231cea8d8d9c83601ef82 (patch)
tree5bb4a3e39142b7fb764fc6a02e5b3dd2cb8d28c6 /pkg/thirdparty/openvpn
parenta6aefc0437e45f963b633b586a18f71ed4dca5be (diff)
[pkg] add --enable-iproute2 to openvpn binary compilation
this will be used by bundles, and it's needed now that ifconfig and other net-utils are being deprecated.
Diffstat (limited to 'pkg/thirdparty/openvpn')
-rwxr-xr-xpkg/thirdparty/openvpn/build_openvpn.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/thirdparty/openvpn/build_openvpn.sh b/pkg/thirdparty/openvpn/build_openvpn.sh
index 9ec8295e..1810d991 100755
--- a/pkg/thirdparty/openvpn/build_openvpn.sh
+++ b/pkg/thirdparty/openvpn/build_openvpn.sh
@@ -1,7 +1,7 @@
#!/bin/bash
#############################################################################
-# Builds OpenVPN statically against polarssl.
+# Builds OpenVPN statically against mbedtls (aka polarssl).
# Requirements: cmake
#############################################################################
@@ -133,7 +133,8 @@ function build_openvpn()
--disable-plugin-auth-pam \
--with-crypto-library=mbedtls \
--enable-small \
- --disable-debug
+ --disable-debug \
+ --enable-iproute2
$MAKE LIBS="-all-static -lz -llzo2"
make install DESTDIR=$BASE/openvpn