opus.go | 12 ++---------- diff --git a/opus.go b/opus.go index 6859a563d70c52df9b0b913630e60539a389a85c..4ea75f8437d6a6df49b9e2f664e381469479e1c4 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