From b8c456e53432efdbba4ee9e55d27f69cb2dcf1ee Mon Sep 17 00:00:00 2001 From: shirou Date: Sat, 9 Dec 2017 16:50:03 +0900 Subject: [PATCH] Revert "Fix build with bazel on OSX" This reverts commit 51c7c4013b6b2317265bfeee7c21cf2e9872596e. --- host/host_darwin_cgo.go | 2 +- host/{ => include}/smc.c | 0 host/{ => include}/smc.h | 0 3 files changed, 1 insertion(+), 1 deletion(-) rename host/{ => include}/smc.c (100%) rename host/{ => include}/smc.h (100%) diff --git a/host/host_darwin_cgo.go b/host/host_darwin_cgo.go index 9471c3a1..be5e18b8 100644 --- a/host/host_darwin_cgo.go +++ b/host/host_darwin_cgo.go @@ -4,7 +4,7 @@ package host // #cgo LDFLAGS: -framework IOKit -// #include "smc.h" +// #include "include/smc.c" import "C" func SensorsTemperatures() ([]TemperatureStat, error) { diff --git a/host/smc.c b/host/include/smc.c similarity index 100% rename from host/smc.c rename to host/include/smc.c diff --git a/host/smc.h b/host/include/smc.h similarity index 100% rename from host/smc.h rename to host/include/smc.h