Skip to content

Support cross compiling#84

Open
soxrok2212 wants to merge 1 commit intotomac:masterfrom
soxrok2212:crosscompile
Open

Support cross compiling#84
soxrok2212 wants to merge 1 commit intotomac:masterfrom
soxrok2212:crosscompile

Conversation

@soxrok2212
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant