Merge pull request #525 from juergenhoetzel/fix-freebsd-static-link
Add missing dependency for static FreeBSD buildpull/526/head
commit
53279f2164
|
@ -24,7 +24,7 @@ import (
|
|||
"github.com/prometheus/client_golang/prometheus"
|
||||
)
|
||||
|
||||
// #cgo LDFLAGS: -ldevstat -lkvm
|
||||
// #cgo LDFLAGS: -ldevstat -lkvm -lelf
|
||||
// #include "devstat_freebsd.h"
|
||||
import "C"
|
||||
|
||||
|
|
Loading…
Reference in New Issue