From aef2601cf633bfa25722464043bd06a485cd715f Mon Sep 17 00:00:00 2001 From: Juergen Hoetzel Date: Mon, 20 Mar 2017 16:59:45 +0000 Subject: [PATCH] Add missing dependency for static FreeBSD build --- collector/devstat_freebsd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collector/devstat_freebsd.go b/collector/devstat_freebsd.go index 79176026..9b4760e4 100644 --- a/collector/devstat_freebsd.go +++ b/collector/devstat_freebsd.go @@ -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"