mirror of
https://github.com/prometheus/node_exporter.git
synced 2024-12-27 14:39:53 -08:00
Add missing dependency for static FreeBSD build
This commit is contained in:
parent
8529cd3359
commit
aef2601cf6
|
@ -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…
Reference in a new issue