Add missing dependency for static FreeBSD build

This commit is contained in:
Juergen Hoetzel 2017-03-20 16:59:45 +00:00
parent 8529cd3359
commit aef2601cf6

View file

@ -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"