diff options
author | Robby Workman <rworkman@slackbuilds.org> | 2020-01-11 21:47:51 -0600 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-18 12:25:01 +0700 |
commit | bee58522a1186e2e97036561207832c894c43a4a (patch) | |
tree | cd7d2cd9a116f17aac11b4cd31b252eb29403c28 /network | |
parent | 2bc3e414d8223716a3b940be5847eb0c74004815 (diff) |
network/wireguard-linux-compat: Fixed build for non-running kernel
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network')
-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 83e76913c998..5af60882e8b3 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" |