softethervpn: fix build on macos
authorSergey V. Lobanov <sergey@lobanov.in>
Fri, 14 Jan 2022 23:45:17 +0000 (02:45 +0300)
committerRosen Penev <rosenp@gmail.com>
Mon, 31 Jan 2022 21:57:22 +0000 (13:57 -0800)
commitf01baee526a1ce4eab7cbcbaf854748de7f1e80e
treedfe7438f677570f5a2499b906b360b2ddbb215ac
parente6a5bbbc8ee3b985083e9513bb2186a62476a249
softethervpn: fix build on macos

host-compile fails on macos due to several reasons:
1. host-compile Makefile always selected for linux
2. macos host cc (clang) fails due to implicit-function-declaration
3. ar and ranlib tools are hardcoded in softethervpn Makefiles

All three issues are fixed by this patch

Signed-off-by: Sergey V. Lobanov <sergey@lobanov.in>
net/softethervpn/Makefile
net/softethervpn/patches/140_allow-to-redefine-ar-and-ranlib.patch [new file with mode: 0644]