Skip to content

Commit

Permalink
swap out static approach to fix -lcrt0 error on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
abe-winter committed Apr 5, 2024
1 parent cb2c41d commit c60e1cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
bin/objectfilter:
go build -ldflags '-X main.Version=$(shell git describe --tags) -extldflags "-static"' -o $@ ./src
go build -ldflags '-X main.Version=$(shell git describe --tags)' -tags osusergo,netgo -o $@ ./src

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

0 comments on commit c60e1cf

Please sign in to comment.