diff options
-rw-r--r-- | network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild b/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild index 83e76913c9..5af60882e8 100644 --- a/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild +++ b/network/wireguard-linux-compat/wireguard-linux-compat.SlackBuild @@ -77,8 +77,10 @@ find -L . \ # Instead depmod will run as part of doinst.sh cd src - env -u ARCH CFLAGS="$SLKCFLAGS" make + env -u ARCH CFLAGS="$SLKCFLAGS" make \ + KERNELRELEASE="$KERNEL" env -u ARCH make install \ + KERNELRELEASE="$KERNEL" \ DESTDIR=$PKG \ INSTALL_MOD_PATH=$PKG \ DEPMOD="true" |