wangyu- / udp2raw-multiplatform

multi-platform(cross-platform) version of udp2raw-tunnel, which supports Windows/Mac/BSD natively. Client-Only at the moment.
MIT License
645 stars 146 forks source link

Can't find the libnet headers when building with homebrew #60

Open crab2313 opened 1 year ago

crab2313 commented 1 year ago

libnet-config --libs do not add the cflags to locate the library headers. Use libnet-config --cflags --libs instead.

Dowstream PR: https://github.com/Homebrew/homebrew-core/pull/137772

wangyu- commented 1 year ago

this repo doesn't contain the up-to-date code any more.

the code has been merged back into https://github.com/wangyu-/udp2raw

please use that repo, and use make mac to build. (brief doc:https://github.com/wangyu-/udp2raw/wiki/How-to-build)

The dependence of libnet has been removed since the pcap-only version works pretty much the same. make mac builds the pcap only version.


apology for the confusion. Now I have removed the code in this repo to avoid confusion.