aboutsummaryrefslogtreecommitdiffsponsor
path: root/contrib/slackbuild/mirror.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/slackbuild/mirror.SlackBuild')
-rw-r--r--contrib/slackbuild/mirror.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/slackbuild/mirror.SlackBuild b/contrib/slackbuild/mirror.SlackBuild
index 66d6234..9dadca2 100644
--- a/contrib/slackbuild/mirror.SlackBuild
+++ b/contrib/slackbuild/mirror.SlackBuild
@@ -47,7 +47,7 @@ export GOPATH="$TMP/$PRGNAM-$VERSION.gopath"
export GOBIN="$PKG/usr/sbin"
go install \
- -ldflags="-linkmode external -extldflags -static" \
+ -ldflags="-linkmode external -extldflags -static -X main.Version=$VERSION" \
-a -x ./...
mkdir -p "$PKG/usr/doc/$PRGNAM-$VERSION"