diff --git a/scanner/metadata/taglib/taglib_wrapper.go b/scanner/metadata/taglib/taglib_wrapper.go index 50438d523..55bbe8fe8 100644 --- a/scanner/metadata/taglib/taglib_wrapper.go +++ b/scanner/metadata/taglib/taglib_wrapper.go @@ -2,7 +2,8 @@ package taglib /* #cgo pkg-config: taglib -#cgo LDFLAGS: -lstdc++ +#cgo !illumos LDFLAGS: -lstdc++ +#cgo illumos LDFLAGS: -lstdc++ -lsendfile #cgo linux darwin CXXFLAGS: -std=c++11 #include #include