mirror of
https://github.com/KusakabeShi/EtherGuard-VPN.git
synced 2024-11-28 18:23:08 +01:00
Do not build on Linux
This commit is contained in:
parent
2f2eca8947
commit
625d59da14
2
Makefile
2
Makefile
@ -5,8 +5,6 @@ BINDIR ?= $(PREFIX)/bin
|
|||||||
ifeq ($(shell go env GOOS),linux)
|
ifeq ($(shell go env GOOS),linux)
|
||||||
ifeq ($(wildcard .git),)
|
ifeq ($(wildcard .git),)
|
||||||
$(error Do not build this for Linux. Instead use the Linux kernel module. See wireguard.com/install/ for more info.)
|
$(error Do not build this for Linux. Instead use the Linux kernel module. See wireguard.com/install/ for more info.)
|
||||||
else
|
|
||||||
$(shell printf 'package main\nconst UseTheKernelModuleInstead = 0xdeadbabe\n' > ireallywantobuildon_linux.go)
|
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user