From ac89778f32c67fd7fa52f4c700043ee70ede54fc Mon Sep 17 00:00:00 2001 From: evilsocket Date: Sun, 11 Feb 2018 21:18:09 +0100 Subject: [PATCH] misc: small fix or general refactoring i did not bother commenting --- README.md | 2 +- build.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 ..."