mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-16 04:44:55 +02:00
debian/rules pass $DEB_VERSION as VersionString to linker.
This commit is contained in:
parent
189b4f2207
commit
e2d3e3e59f
1 changed files with 1 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
include /usr/share/dpkg/default.mk
|
||||
|
||||
INSTALL_FLAGS := PREFIX=/usr GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w\""
|
||||
INSTALL_FLAGS := PREFIX=/usr GOOS=linux GOBUILDFLAGS="-v --buildmode=pie -ldflags=\"-v -s -w -X main.VersionString=$(DEB_VERSION)\""
|
||||
|
||||
%:
|
||||
dh $@ -P debian/pkgroot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue