tomac / yersinia

A framework for layer 2 attacks
GNU General Public License v2.0
712 stars 122 forks source link

Support cross compiling #84

Open soxrok2212 opened 1 year ago

soxrok2212 commented 1 year ago

This is a little bit of a hack, but it allows for cross compiling out-of-the-box. There are probably better ways about this, but this is what I came up with that worked when specifying custom libpcap and libnet paths.

Caveats:

Tests are disabled when libpcap/libnet is specified Feedback is appreciated. Tested on arm64: native arm64 binary builds and mips64 cross compile works.