mirror of
https://github.com/stashapp/stash.git
synced 2026-04-21 14:34:16 +02:00
Freebsd compile errors (#2477)
* Fix local docker builds under new projext org * Fix Desktop package freebsd compile * Fix build declaration * rename systray file
This commit is contained in:
parent
638b2b4a32
commit
4c4d029c23
4 changed files with 11 additions and 6 deletions
5
Makefile
5
Makefile
|
|
@ -110,6 +110,11 @@ cross-compile-macos:
|
|||
cd dist && zip -r Stash-macos.zip Stash.app && cd ..
|
||||
rm -rf dist/Stash.app
|
||||
|
||||
cross-compile-freebsd: export GOOS := freebsd
|
||||
cross-compile-freebsd: export GOARCH := amd64
|
||||
cross-compile-freebsd: OUTPUT := -o dist/stash-freebsd
|
||||
cross-compile-freebsd: build-release-static
|
||||
|
||||
cross-compile-linux: export GOOS := linux
|
||||
cross-compile-linux: export GOARCH := amd64
|
||||
cross-compile-linux: OUTPUT := -o dist/stash-linux
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
//go:build linux
|
||||
// +build linux
|
||||
//go:build linux || freebsd
|
||||
// +build linux freebsd
|
||||
|
||||
package desktop
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
//go:build linux
|
||||
// +build linux
|
||||
//go:build linux || freebsd
|
||||
// +build linux freebsd
|
||||
|
||||
package desktop
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
//go:build windows || darwin || !linux
|
||||
// +build windows darwin !linux
|
||||
//go:build windows || darwin
|
||||
// +build windows darwin
|
||||
|
||||
package desktop
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue