bettercap: set CGO_CFLAGS in build.sh (as well)

This commit is contained in:
Henrik Grimler 2019-07-21 11:57:05 +02:00 committed by Yaksh Bariya
parent e46107874e
commit 756621cfff
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581

View File

@ -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