do not build systray in linux
This commit is contained in:
parent
d7253a60b8
commit
4c0726412b
5 changed files with 6 additions and 2 deletions
|
|
@ -9,3 +9,4 @@ hash:
|
|||
changes:
|
||||
|
||||
-removed `getlantern/golog` dependency
|
||||
-prevent from compiling in linux
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build darwin,windows
|
||||
|
||||
/*
|
||||
Package systray is a cross-platform Go library to place an icon and menu in the notification area.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
// +build never
|
||||
|
||||
package systray
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
// +build !windows
|
||||
// +build darwin
|
||||
|
||||
package systray
|
||||
|
||||
/*
|
||||
#cgo linux pkg-config: gtk+-3.0 appindicator3-0.1
|
||||
#cgo darwin CFLAGS: -DDARWIN -x objective-c -fobjc-arc
|
||||
#cgo darwin LDFLAGS: -framework Cocoa
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue