diff --git a/cmd/tins2021/tins2021.go b/cmd/tins2021/tins2021.go index 8deeb19..576d0d6 100644 --- a/cmd/tins2021/tins2021.go +++ b/cmd/tins2021/tins2021.go @@ -13,6 +13,9 @@ import ( "opslag.de/schobers/zntg/ui" ) +// #cgo windows LDFLAGS: -Wl,-subsystem,windows +import "C" + //go:generate go get -u github.com/GeertJohan/go.rice/rice //go:generate rice embed diff --git a/cmd/tins2021/tins2021_allegro.go b/cmd/tins2021/tins2021_allegro.go index 41eb55c..28b1bb3 100644 --- a/cmd/tins2021/tins2021_allegro.go +++ b/cmd/tins2021/tins2021_allegro.go @@ -8,7 +8,6 @@ import ( _ "opslag.de/schobers/zntg/allg5ui" // rendering backend ) -// #cgo windows,allegro LDFLAGS: -Wl,-subsystem,windows import "C" func init() {