diff options
author | Niall Sheridan <nsheridan@gmail.com> | 2016-12-28 16:10:30 +0000 |
---|---|---|
committer | Niall Sheridan <nsheridan@gmail.com> | 2016-12-28 16:10:30 +0000 |
commit | 7062ddef5a9166595ebef86b272a74e379843f2b (patch) | |
tree | 3d4b48c152e27f9bd650ab307aae210f9f32cfa5 /vendor/google.golang.org/grpc/transport/go17.go | |
parent | d7129803488e81e6df691161b774908bf801e527 (diff) |
Allow building static binaries
sqlite uses CGO which prevents the building of statically-linked binaries.
This change will omit sqlite support when building a static binary with:
CGO_ENABLED=0 go build --ldflags '-extldflags "-static"'
Diffstat (limited to 'vendor/google.golang.org/grpc/transport/go17.go')
0 files changed, 0 insertions, 0 deletions