wireguard-android build error

David Cowden dcow at eero.com
Fri Aug 24 22:06:17 CEST 2018

When building for android, I am seeing a linker error because the build
system is trying to pass an unsupported `-r` flag. I'm trying to build on
macOS. Does wireguard-android need to be built on Linux (or with a gcc
toolchain) right now, or is this an ndk issue, or a CMAKE configuration
issue? Here's the abridged error:

ln -sfrt ./src/git.zx2c4.com/wireguard-go/ratelimiter/
../wireguard-go/ratelimiter/ratelimiter.go; ... <many more>
ln: illegal option -- r
usage: ln [-Ffhinsv] source_file [target_file]
       ln [-Ffhinsv] source_file ... target_dir
       link source_file target_file

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20180824/d286c2da/attachment-0001.html>

More information about the WireGuard mailing list