mirror of
https://github.com/netbirdio/systray.git
synced 2026-05-22 17:08:41 -07:00
This commit should make systray build on Ubuntu 20.04 and (hopefully) Debian 11 again. I fumbled the legacy "+build" tag syntax, apparently, and forgot to remove a pkg-config directive that unconditionally required libappindicator3 to be installed.
13 lines
219 B
Go
13 lines
219 B
Go
// +build linux,legacy_appindicator
|
|
//go:build linux && legacy_appindicator
|
|
|
|
package systray
|
|
|
|
/*
|
|
#cgo linux pkg-config: appindicator3-0.1
|
|
#cgo linux CFLAGS: -DUSE_LEGACY_APPINDICATOR
|
|
|
|
#include "systray.h"
|
|
*/
|
|
import "C"
|