Skip to content

Commit 6ed6ea9

Browse files
authored
Merge pull request #87 from vadorovsky/static-build
make: Ensure that libc is linked statically
2 parents 636f420 + 8e90bcd commit 6ed6ea9

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
@@ -11,6 +11,6 @@ clean:
1111
-rm ./SecretScanner
1212

1313
SecretScanner: $(PWD)/**/*.go $(PWD)/agent-plugins-grpc/proto/*.go
14-
go build -buildvcs=false -v .
14+
go build -ldflags="-extldflags=-static" -buildvcs=false -v .
1515

1616
.PHONY: clean

0 commit comments

Comments
 (0)