mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-21 07:51:29 +02:00
[client] Exclude UI fallback stubs from FreeBSD build
The _other.go fallback stubs in client/ui and client/ui/services matched FreeBSD, dragging the Wails-importing services package into the FreeBSD build and failing it (Wails v3 has no FreeBSD port). Add !freebsd (plus !android/!ios/!js) to align them with the rest of these packages so the whole UI is excluded on FreeBSD.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//go:build !linux || (linux && 386)
|
||||
//go:build (!linux || (linux && 386)) && !freebsd && !android && !ios && !js
|
||||
|
||||
package main
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !darwin && !windows && !linux
|
||||
//go:build !darwin && !windows && !linux && !freebsd && !android && !ios && !js
|
||||
|
||||
package services
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
//go:build !linux || (linux && 386)
|
||||
//go:build (!linux || (linux && 386)) && !freebsd && !android && !ios && !js
|
||||
|
||||
package main
|
||||
|
||||
|
||||
Reference in New Issue
Block a user