diff --git a/README.md b/README.md index 2fcf77ef..521ee2d1 100644 --- a/README.md +++ b/README.md @@ -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): diff --git a/build.sh b/build.sh index 4d30f1c2..2429f451 100755 --- a/build.sh +++ b/build.sh @@ -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 ..."