diff --git a/Makefile b/Makefile index af2f542..e10fdc2 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,8 @@ BINDIR ?= $(PREFIX)/bin ifeq ($(shell go env GOOS),linux) ifeq ($(wildcard .git),) $(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 diff --git a/version.go b/version.go index ca61b5c..cd8dab6 100644 --- a/version.go +++ b/version.go @@ -1,2 +1,2 @@ package main -const WireGuardGoVersion = "0.0.20180531" +const WireGuardGoVersion = "0.0.20180613"