diff --git a/build-static-bin.sh b/build-static-bin.sh new file mode 100644 index 0000000..d7ce819 --- /dev/null +++ b/build-static-bin.sh @@ -0,0 +1,10 @@ +#!/bin/bash +set -x + +libcap=$(pkg-config --libs --static libcap) +libpcap=$(pkg-config --libs --static libpcap) +dbus=$(pkg-config --libs --static dbus-1) +a="'" + +eval "CGO_ENABLED=1 GOOS=linux GOARCH=amd64 go build -a -ldflags ${a}-extldflags \"-static ${libpcap} ${dbus} ${libcap} -lc\"${a}" + diff --git a/denyip b/denyip index ff3a98a..2db3060 100644 Binary files a/denyip and b/denyip differ