From 5a79da6aa8d09c932b74486bff46f31bfb80c811 Mon Sep 17 00:00:00 2001 From: Hraban Luyat Date: Mon, 22 Aug 2016 15:34:16 +0100 Subject: [PATCH] Update opus link comment --- opus.go | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/opus.go b/opus.go index 6859a56..4ea75f8 100644 --- a/opus.go +++ b/opus.go @@ -5,16 +5,8 @@ package opus /* -// Statically link libopus. Requires a libopus.a in every directory you use this -// as a dependency in. Not great, but CGO doesn't offer anything better, right -// now. Unless you require everyone who USES this package to have libopus -// installed system-wide, which is more of a chore because it's so new. Everyone -// will end up having to build it from source anyway, might as well just dump -// the pre-built lib in here. At least it will be up to the package maintainer, -// not the user. -// -// If I missed something, and somebody knows a better way: please let me know. -#cgo pkg-config: opus +// Link opus using pkg-config. +#cgo pkg-config: --static opus #include // Access the preprocessor from CGO -- 2.48.1