From b8d3f38cd20cfdf11676c70ddbfdf2c5be303953 Mon Sep 17 00:00:00 2001 From: Teddysun Date: Wed, 27 Nov 2019 21:48:08 +0900 Subject: [PATCH] Update wireguard.sh --- wireguard.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/wireguard.sh b/wireguard.sh index ad44959..838048b 100644 --- a/wireguard.sh +++ b/wireguard.sh @@ -253,6 +253,7 @@ install_wg_2() { _error_detect "apt-get -y install gcc" _error_detect "apt-get -y install make" _error_detect "apt-get -y install libmnl-dev" + _error_detect "apt-get -y install libelf-dev" ;; fedora) [ ! -d "/usr/src/kernels/$(uname -r)" ] && _error_detect "dnf -y install kernel-headers" && _error_detect "dnf -y install kernel-devel"