aboutsummaryrefslogtreecommitdiffstats
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
commit9050a2180960eda362faa64019d6e192197952f8 (patch)
treef015b3571eafffaa09efc16ae2820903c82ad657
parentembeddable-dll-service: use on-demand activation instead of auto (diff)
downloadwireguard-windows-9050a2180960eda362faa64019d6e192197952f8.tar.xz
wireguard-windows-9050a2180960eda362faa64019d6e192197952f8.zip
build: copy symlinks
Required for debian.
-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 $@