mirror of
https://github.com/bettercap/bettercap
synced 2025-07-06 13:02:12 -07:00
misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
c9422649f2
commit
ac89778f32
2 changed files with 3 additions and 1 deletions
|
@ -68,7 +68,7 @@ Despite Windows support [is not yet 100% complete](https://github.com/evilsocket
|
||||||
|
|
||||||
## Cross Compilation
|
## 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):
|
**Step 1**: download and cross compile libpcap-1.8.1 for ARM (adjust `PCAPV` to use a different libpcap version):
|
||||||
|
|
||||||
|
|
2
build.sh
2
build.sh
|
@ -35,6 +35,8 @@ xcompile_pcap() {
|
||||||
ARCH=$1
|
ARCH=$1
|
||||||
|
|
||||||
bin_dep 'make'
|
bin_dep 'make'
|
||||||
|
bin_dep 'yacc'
|
||||||
|
bin_dep 'flex'
|
||||||
bin_dep "$ARCH-linux-gnueabi-gcc"
|
bin_dep "$ARCH-linux-gnueabi-gcc"
|
||||||
|
|
||||||
echo "@ Cross compiling libpcap for $ARCH ..."
|
echo "@ Cross compiling libpcap for $ARCH ..."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue