<div dir="ltr">The project builds on a linux host.<br></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Aug 24, 2018 at 1:06 PM David Cowden <<a href="mailto:dcow@eero.com">dcow@eero.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>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:<br></div><div><br></div><div><span style="font-family:monospace,monospace">ln -sfrt ./src/<a href="http://git.zx2c4.com/wireguard-go/ratelimiter/" target="_blank">git.zx2c4.com/wireguard-go/ratelimiter/</a> ../wireguard-go/ratelimiter/ratelimiter.go; ... <many more><br>ln: illegal option -- r<br>usage: ln [-Ffhinsv] source_file [target_file]<br> ln [-Ffhinsv] source_file ... target_dir<br> link source_file target_file</span></div><div><span style="font-family:monospace,monospace"></span></div><div><br></div><div>Thanks,</div><div>David</div></div>
</blockquote></div>