cbrotli: add pkg-config directive

This commit is contained in:
Daniel Lobl 2024-08-07 21:40:57 +02:00
parent 39bcecf455
commit d21c7d6063
No known key found for this signature in database
GPG Key ID: 547A7E1332669A19

View File

@ -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"