From: Hraban Luyat <hraban@0brg.net>
Date: Mon, 22 Aug 2016 14:34:16 +0000 (+0100)
Subject: Update opus link comment
X-Git-Tag: v2.0.0~69
X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5a79da6aa8d09c932b74486bff46f31bfb80c811;p=go-opus.git

Update opus link comment
---

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 <opus/opus.h>
 
 // Access the preprocessor from CGO