aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2019-10-12 16:31:52 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2019-10-12 16:31:52 +0200
commitc6574d8fac1d0bbae06acf0f2cd88b42b582005d (patch)
treef015b3571eafffaa09efc16ae2820903c82ad657
parentembeddable-dll-service: use on-demand activation instead of auto (diff)
downloadwireguard-windows-c6574d8fac1d0bbae06acf0f2cd88b42b582005d.tar.xz
wireguard-windows-c6574d8fac1d0bbae06acf0f2cd88b42b582005d.zip
build: copy symlinks
Required for debian. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5fbafe5f..39d3046c 100644
--- a/Makefile
+++ b/Makefile
@@ -18,7 +18,7 @@ all: amd64/wireguard.exe x86/wireguard.exe
.deps/prepared: export GOROOT := $(OLD_GOROOT)
.deps/prepared: $(wildcard golang-*.patch)
rm -rf .deps && mkdir -p .deps
- if ! rsync --exclude=pkg/obj/go-build/trim.txt -aq $$(go env GOROOT)/ .deps/goroot; then chmod -R +w .deps/goroot; exit 1; fi
+ if ! rsync --exclude=pkg/obj/go-build/trim.txt -aqL $$(go env GOROOT)/ .deps/goroot; then chmod -R +w .deps/goroot; exit 1; fi
chmod -R +w .deps/goroot
cat $^ | patch -f -N -r- -p1 -d .deps/goroot
touch $@