diff options
author | Slack Coder <slackcoder@server.ky> | 2024-10-16 18:04:31 -0500 |
---|---|---|
committer | Slack Coder <slackcoder@server.ky> | 2024-10-16 18:02:07 -0500 |
commit | 001262c0fff1944e1238362d510051bb50bb6b13 (patch) | |
tree | ba90c855e3d979d2c5e434a31a25ef3985455740 | |
parent | 8f9152ecae99489ed44b0456d6eda544905d83a3 (diff) | |
download | mirror-0.0.1.tar.xz (sig) |
slackbuild: Add versionv0.0.1
-rw-r--r-- | contrib/slackbuild/mirror.SlackBuild | 2 |
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" |