Skip to content

Commit

Permalink
Merge pull request shirou#470 from improbable-io/bug-darwin-build-2
Browse files Browse the repository at this point in the history
Fix build with bazel on OSX attempt 2 (add stub for host_cgo.go)
  • Loading branch information
shirou authored Jan 26, 2018
2 parents 6a368fb + 945c2f4 commit bb09b4e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions host/host_cgo.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// +build cgo

package host

import "C"
2 changes: 1 addition & 1 deletion host/host_darwin_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package host

// #cgo LDFLAGS: -framework IOKit
// #include "include/smc.c"
// #include "smc.h"
import "C"
import "context"

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit bb09b4e

Please sign in to comment.