diff options
author | Sean E. Russell <ser@ser1.net> | 2020-02-17 13:00:52 -0600 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-02-17 13:00:52 -0600 |
commit | 6c9e51470e6fef4282d22f419ac2deaf8435195d (patch) | |
tree | 303889d8b16747a24466eccf3657eb38d0c932a0 /widgets | |
parent | 8e743fc85f8193143e236d542768763c2d77e1ef (diff) |
Fixes cross-compiling, adds a new build scriptv3.3.0
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/temp_darwin.go | 2 | ||||
-rw-r--r-- | widgets/temp_freebsd.go | 2 | ||||
-rw-r--r-- | widgets/temp_linux.go | 2 | ||||
-rw-r--r-- | widgets/temp_openbsd.go | 2 | ||||
-rw-r--r-- | widgets/temp_windows.go | 2 |
5 files changed, 10 insertions, 0 deletions
diff --git a/widgets/temp_darwin.go b/widgets/temp_darwin.go index 2f5cde3..d0e512b 100644 --- a/widgets/temp_darwin.go +++ b/widgets/temp_darwin.go @@ -1,3 +1,5 @@ +// +build darwin + package widgets // #cgo LDFLAGS: -framework IOKit diff --git a/widgets/temp_freebsd.go b/widgets/temp_freebsd.go index fcc6cda..8d9eda6 100644 --- a/widgets/temp_freebsd.go +++ b/widgets/temp_freebsd.go @@ -1,3 +1,5 @@ +// +build freebsd + package widgets import ( diff --git a/widgets/temp_linux.go b/widgets/temp_linux.go index 674599e..1460007 100644 --- a/widgets/temp_linux.go +++ b/widgets/temp_linux.go @@ -1,3 +1,5 @@ +// +build linux + package widgets import ( diff --git a/widgets/temp_openbsd.go b/widgets/temp_openbsd.go index 8d0dc63..0d4a24a 100644 --- a/widgets/temp_openbsd.go +++ b/widgets/temp_openbsd.go @@ -1,3 +1,5 @@ +// +build openbsd + package widgets // loosely based on https://github.com/openbsd/src/blob/master/sbin/sysctl/sysctl.c#L2517 diff --git a/widgets/temp_windows.go b/widgets/temp_windows.go index 8160900..422e395 100644 --- a/widgets/temp_windows.go +++ b/widgets/temp_windows.go @@ -1,3 +1,5 @@ +// +build windows + package widgets import ( |