yggdrasil: fixes build name and version #10309 10523/head
authorWilliam Fleurant <meshnet@protonmail.com>
Mon, 11 Nov 2019 05:10:48 +0000 (00:10 -0500)
committerWilliam Fleurant <meshnet@protonmail.com>
Mon, 11 Nov 2019 05:10:48 +0000 (00:10 -0500)
Signed-off-by: William Fleurant <meshnet@protonmail.com>
net/yggdrasil/Makefile

index 6e268d310fcf9f328f39bff9c56f2b892b39c521..c2ffdbb079bba9d435b3c139b521d528f5273c92 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=yggdrasil
 PKG_VERSION:=0.3.11
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/yggdrasil-network/yggdrasil-go/tar.gz/v$(PKG_VERSION)?
@@ -21,8 +21,8 @@ GO_PKG:=github.com/yggdrasil-network/yggdrasil-go
 GO_PKG_BUILD_PKG:=github.com/yggdrasil-network/yggdrasil-go/cmd/...
 
 GO_PKG_LDFLAGS_X:= \
-  github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil.buildName=yggdrasil-openwrt \
-  github.com/yggdrasil-network/yggdrasil-go/src/yggdrasil.buildVersion=$(PKG_VERSION)
+  github.com/yggdrasil-network/yggdrasil-go/src/version.buildName=yggdrasil-openwrt \
+  github.com/yggdrasil-network/yggdrasil-go/src/version.buildVersion=$(PKG_VERSION)
 
 include $(INCLUDE_DIR)/package.mk
 include ../../lang/golang/golang-package.mk