Bug fix for wireguard.

This commit is contained in:
fewtarius 2022-08-31 18:47:47 -04:00
parent a2998b71c2
commit f7d251b2dd
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 5 additions and 6 deletions

View file

@ -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}

View file

@ -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.