Skip to content

Commit

Permalink
Fix static link on osx
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Natel de Moura <[email protected]>
  • Loading branch information
i4ki committed Nov 21, 2016
1 parent fdc4bdc commit 49af47e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/nash/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
all: build install

VERSION=$(shell git rev-parse --abbrev-ref HEAD)
BUILDARGS = -ldflags "-linkmode external -extldflags -static -X main.VersionString=$(VERSION)" -v
BUILDARGS = -installsuffix netgo -ldflags "-linkmode external -extldflags -static -X main.VersionString=$(VERSION)" -v

build:
GO15VENDOREXPERIMENT=1 go build $(BUILDARGS)
Expand Down

0 comments on commit 49af47e

Please sign in to comment.