From 90833a88cde5c78dcfcc51aacef2fb29f0403c72 Mon Sep 17 00:00:00 2001 From: Daniel Lobl Date: Wed, 7 Aug 2024 21:40:57 +0200 Subject: [PATCH] cbrotli: add pkg-config directive --- go/cbrotli/cgo.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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"