bettercap: set CGO_CFLAGS in build.sh (as well)
This commit is contained in:
parent
e46107874e
commit
756621cfff
@ -8,7 +8,8 @@ TERMUX_PKG_DEPENDS="libpcap, libusb"
|
||||
|
||||
termux_step_configure() {
|
||||
termux_setup_golang
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
export GOPATH=$TERMUX_PKG_BUILDDIR
|
||||
export CGO_CFLAGS="-I$TERMUX_PREFIX/include"
|
||||
|
||||
mkdir -p "$GOPATH"/src/github.com/bettercap/
|
||||
cp -a "$TERMUX_PKG_SRCDIR" "$GOPATH"/src/github.com/bettercap/bettercap
|
||||
|
Loading…
Reference in New Issue
Block a user