Bug fix for wireguard.
This commit is contained in:
parent
a2998b71c2
commit
f7d251b2dd
2 changed files with 5 additions and 6 deletions
|
@ -11,9 +11,11 @@ PKG_DEPENDS_TARGET="toolchain wireguard-tools"
|
|||
PKG_SHORTDESC="Zero config VPN. Installs on any device in minutes, manages firewall rules for you, and works from anywhere."
|
||||
PKG_TOOLCHAIN="manual"
|
||||
|
||||
if [ ! "${TARGET_ARCH}" = "x86_64" ] | [ ! "${DEVICE}" = "RG552ML" ]; then
|
||||
PKG_DEPENDS_TARGET+=" wireguard-linux-compat"
|
||||
fi
|
||||
case ${TARGET_ARCH} in
|
||||
RG351P|RG351V|RG351MP|RG503|RG353P)
|
||||
PKG_DEPENDS_TARGET+=" wireguard-linux-compat"
|
||||
;;
|
||||
esac
|
||||
|
||||
pre_unpack() {
|
||||
mkdir -p ${PKG_BUILD}
|
||||
|
|
|
@ -25,9 +25,6 @@ fi
|
|||
|
||||
if [ "${WIREGUARD_SUPPORT}" = "yes" ]; then
|
||||
PKG_DEPENDS_TARGET="${PKG_DEPENDS_TARGET} wireguard-tools"
|
||||
if [ ! "${TARGET_ARCH}" = "x86_64" ] | [ ! "${DEVICE}" = "RG552ML" ]; then
|
||||
PKG_DEPENDS_TARGET+=" wireguard-linux-compat"
|
||||
fi
|
||||
fi
|
||||
|
||||
# nss needed by inputstream.adaptive, chromium etc.
|
||||
|
|
Loading…
Reference in a new issue