Skip to content

Commit c60e1cf

Browse files
committed
swap out static approach to fix -lcrt0 error on darwin
1 parent cb2c41d commit c60e1cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
bin/objectfilter:
2-
go build -ldflags '-X main.Version=$(shell git describe --tags) -extldflags "-static"' -o $@ ./src
2+
go build -ldflags '-X main.Version=$(shell git describe --tags)' -tags osusergo,netgo -o $@ ./src
33

44
module.tar.gz: bin/objectfilter
55
tar czf $@ $<

0 commit comments

Comments
 (0)