Skip to content

Commit

Permalink
Fix link flags for version information in binaries (kolide#2099)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwass authored Aug 14, 2019
1 parent a06ad6f commit bc9782e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ ifndef MYSQL_PORT_3306_TCP_ADDR
endif

KIT_VERSION = "\
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.appName=${APP_NAME} \
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.version=${VERSION} \
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.branch=${BRANCH} \
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.revision=${REVISION} \
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.buildDate=${NOW} \
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.buildUser=${USER} \
-X github.com/kolide/fleet/vendor/github.com/kolide/kit/version.goVersion=${GOVERSION}"
-X github.com/kolide/kit/version.appName=${APP_NAME} \
-X github.com/kolide/kit/version.version=${VERSION} \
-X github.com/kolide/kit/version.branch=${BRANCH} \
-X github.com/kolide/kit/version.revision=${REVISION} \
-X github.com/kolide/kit/version.buildDate=${NOW} \
-X github.com/kolide/kit/version.buildUser=${USER} \
-X github.com/kolide/kit/version.goVersion=${GOVERSION}"

all: build

Expand Down

0 comments on commit bc9782e

Please sign in to comment.