Merge pull request #525 from juergenhoetzel/fix-freebsd-static-link

Add missing dependency for static FreeBSD build
pull/526/head
Tobias Schmidt 2017-03-21 03:18:08 +02:00 committed by GitHub
commit 53279f2164
1 changed files with 1 additions and 1 deletions

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"