Merge pull request #470 from improbable-io/bug-darwin-build-2
Fix build with bazel on OSX attempt 2 (add stub for host_cgo.go)
This commit is contained in:
commit
bb09b4e7d9
|
@ -0,0 +1,5 @@
|
||||||
|
// +build cgo
|
||||||
|
|
||||||
|
package host
|
||||||
|
|
||||||
|
import "C"
|
|
@ -4,7 +4,7 @@
|
||||||
package host
|
package host
|
||||||
|
|
||||||
// #cgo LDFLAGS: -framework IOKit
|
// #cgo LDFLAGS: -framework IOKit
|
||||||
// #include "include/smc.c"
|
// #include "smc.h"
|
||||||
import "C"
|
import "C"
|
||||||
import "context"
|
import "context"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue