heiher / hev-socks5-tunnel

A high-performance tun2socks for Linux/Android/FreeBSD/macOS/iOS/WSL2 (IPv4/IPv6/TCP/UDP)
MIT License
636 stars 130 forks source link

Fix issue locating lwipopts.h #114

Closed pronebird closed 2 months ago

pronebird commented 2 months ago

I see that on ubuntu third-part/lwip/include/ports/unix does not exist, which causes build failure due to missing lwipopts.h. However the symlink for the missing header file can be found at third-part/lwip/include/ports.

ls -la third-part/lwip/include/ports/
total 8
drwxrwxr-x 2 parallels parallels 4096 Feb 21 11:07 .
drwxrwxr-x 3 parallels parallels 4096 Feb 21 11:07 ..
lrwxrwxrwx 1 parallels parallels   28 Feb 21 11:07 arch -> ../../src/ports/include/arch
lrwxrwxrwx 1 parallels parallels   34 Feb 21 11:07 lwipopts.h -> ../../src/ports/include/lwipopts.h
lrwxrwxrwx 1 parallels parallels   29 Feb 21 11:07 netif -> ../../src/ports/include/netif

Fixes https://github.com/heiher/hev-socks5-tunnel/issues/113

pronebird commented 2 months ago

Actually I am dummy, I ran submodule update by mistake. Nevermind.