summaryrefslogtreecommitdiffhomepage
path: root/app/tools/libwg-go/Makefile
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 04:21:20 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-05-14 17:10:59 +0200
commite1ac4247ff30e68e7f9aa820fe4d1f5623bf54ee (patch)
treedbd691eedfa456f0e599eed745d8218ef4d572cc /app/tools/libwg-go/Makefile
parent34422e57a906f3806626bc2a87a290688404224e (diff)
libwg-go: make changes for recent go code
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/tools/libwg-go/Makefile')
-rw-r--r--app/tools/libwg-go/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/tools/libwg-go/Makefile b/app/tools/libwg-go/Makefile
index 3daad830..a7828e79 100644
--- a/app/tools/libwg-go/Makefile
+++ b/app/tools/libwg-go/Makefile
@@ -2,9 +2,7 @@
#
# Copyright © 2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
-containing = $(foreach v,$2,$(if $(findstring $1,$v),$v))
-FILES := $(wildcard ../wireguard-go/*/*.go) $(wildcard ../wireguard-go/*.go)
-FILES := $(filter-out %/main.go $(filter-out %_linux.go,$(call containing,_,$(FILES))),$(FILES))
+FILES := $(filter-out %/main.go,$(wildcard ../wireguard-go/*/*.go) $(wildcard ../wireguard-go/*.go))
NDK_GO_ARCH_MAP_x86 := 386
NDK_GO_ARCH_MAP_x86_64 := amd64