diff --git a/go/cbrotli/cgo.go b/go/cbrotli/cgo.go index f953f72..50d9d71 100644 --- a/go/cbrotli/cgo.go +++ b/go/cbrotli/cgo.go @@ -7,7 +7,5 @@ package cbrotli // Inform golang build system that it should link brotli libraries. -// #cgo LDFLAGS: -lbrotlicommon -// #cgo LDFLAGS: -lbrotlidec -// #cgo LDFLAGS: -lbrotlienc +// #cgo pkg-config: libbrotlicommon libbrotlidec libbrotlienc import "C"