Add missing dependency for static FreeBSD build
This commit is contained in:
parent
8529cd3359
commit
aef2601cf6
1 changed files with 1 additions and 1 deletions
|
|
@ -24,7 +24,7 @@ import (
|
||||||
"github.com/prometheus/client_golang/prometheus"
|
"github.com/prometheus/client_golang/prometheus"
|
||||||
)
|
)
|
||||||
|
|
||||||
// #cgo LDFLAGS: -ldevstat -lkvm
|
// #cgo LDFLAGS: -ldevstat -lkvm -lelf
|
||||||
// #include "devstat_freebsd.h"
|
// #include "devstat_freebsd.h"
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue