Skip to content

Commit 49af47e

Browse files
committed
Fix static link on osx
Signed-off-by: Tiago Natel de Moura <[email protected]>
1 parent fdc4bdc commit 49af47e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/nash/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
all: build install
22

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

66
build:
77
GO15VENDOREXPERIMENT=1 go build $(BUILDARGS)

0 commit comments

Comments
 (0)