misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-02-11 21:18:09 +01:00
parent c9422649f2
commit ac89778f32
2 changed files with 3 additions and 1 deletions

View file

@ -68,7 +68,7 @@ Despite Windows support [is not yet 100% complete](https://github.com/evilsocket
## Cross Compilation
As an example, let's cross compile bettercap for ARM (requires `gcc-arm-linux-gnueabi`, `byacc` and `flex` packages).
As an example, let's cross compile bettercap for ARM (requires `gcc-arm-linux-gnueabi`, `yacc` and `flex` packages).
**Step 1**: download and cross compile libpcap-1.8.1 for ARM (adjust `PCAPV` to use a different libpcap version):

View file

@ -35,6 +35,8 @@ xcompile_pcap() {
ARCH=$1
bin_dep 'make'
bin_dep 'yacc'
bin_dep 'flex'
bin_dep "$ARCH-linux-gnueabi-gcc"
echo "@ Cross compiling libpcap for $ARCH ..."