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)
tags/v2.18.01
shirou 8 years ago committed by GitHub
commit bb09b4e7d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,5 @@
// +build cgo
package host
import "C"

@ -4,7 +4,7 @@
package host
// #cgo LDFLAGS: -framework IOKit
// #include "include/smc.c"
// #include "smc.h"
import "C"
import "context"

Loading…
Cancel
Save