summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--network/webhook/webhook.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/webhook/webhook.SlackBuild b/network/webhook/webhook.SlackBuild
index c79d9585c8..e8b3dacf02 100644
--- a/network/webhook/webhook.SlackBuild
+++ b/network/webhook/webhook.SlackBuild
@@ -73,7 +73,7 @@ mv $PRGNAM/vendor $PRGNAM-$VERSION/build/src
mkdir -p $PRGNAM-$VERSION/build/src/github.com/adnanh
mv $PRGNAM $PRGNAM-$VERSION/build/src/github.com/adnanh
cd $PRGNAM-$VERSION
-GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM
+GO111MODULE=auto GOPATH=$(pwd)/build go build -o $PKG/usr/sbin/webhook github.com/adnanh/$PRGNAM
strip -s $PKG/usr/sbin/webhook
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION