Skip to content

Commit

Permalink
package/docker-cli: fix go-module package identifier
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Stewart <[email protected]>
  • Loading branch information
paralin committed Dec 5, 2019
1 parent a557bd6 commit 3c8ae0d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions package/docker-cli/docker-cli.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,13 @@ DOCKER_CLI_LICENSE_FILES = LICENSE

DOCKER_CLI_DEPENDENCIES = host-pkgconf

DOCKER_CLI_TAGS = autogen
DOCKER_CLI_BUILD_TARGETS = cmd/docker

DOCKER_CLI_GOMOD = github.com/docker/cli
DOCKER_CLI_LDFLAGS = \
-X github.com/docker/cli/cli.GitCommit=$(DOCKER_CLI_VERSION) \
-X github.com/docker/cli/cli.Version=$(DOCKER_CLI_VERSION)
-X $(DOCKER_CLI_GOMOD).GitCommit=$(DOCKER_CLI_VERSION) \
-X $(DOCKER_CLI_GOMOD).Version=$(DOCKER_CLI_VERSION)

DOCKER_CLI_BUILD_TARGETS = $(DOCKER_CLI_GOMOD)/cmd/docker
DOCKER_CLI_TAGS = autogen

ifeq ($(BR2_PACKAGE_DOCKER_CLI_STATIC),y)
DOCKER_CLI_LDFLAGS += -extldflags '-static'
Expand Down

0 comments on commit 3c8ae0d

Please sign in to comment.