mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 18:00:05 +00:00
do not build systray in linux
This commit is contained in:
@@ -9,3 +9,4 @@ hash:
|
|||||||
changes:
|
changes:
|
||||||
|
|
||||||
-removed `getlantern/golog` dependency
|
-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.
|
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
|
package systray
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -1,9 +1,8 @@
|
|||||||
// +build !windows
|
// +build darwin
|
||||||
|
|
||||||
package systray
|
package systray
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo linux pkg-config: gtk+-3.0 appindicator3-0.1
|
|
||||||
#cgo darwin CFLAGS: -DDARWIN -x objective-c -fobjc-arc
|
#cgo darwin CFLAGS: -DDARWIN -x objective-c -fobjc-arc
|
||||||
#cgo darwin LDFLAGS: -framework Cocoa
|
#cgo darwin LDFLAGS: -framework Cocoa
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user