Fix build attempt 3 (add stub for host_cgo.go)
This commit is contained in:
parent
48fc561289
commit
1be443f398
|
@ -0,0 +1,3 @@
|
|||
// +build cgo
|
||||
|
||||
package gopsutil
|
|
@ -4,7 +4,7 @@
|
|||
package host
|
||||
|
||||
// #cgo LDFLAGS: -framework IOKit
|
||||
// #include "include/smc.c"
|
||||
// #include "smc.h"
|
||||
import "C"
|
||||
|
||||
func SensorsTemperatures() ([]TemperatureStat, error) {
|
||||
|
|
Loading…
Reference in New Issue