Mention setting GOROOT for building with MSYS2 mingw-w64 packaging

This commit is contained in:
Martchus 2024-01-02 14:39:34 +01:00
parent c17c8e7815
commit 85c76708c9
1 changed files with 2 additions and 1 deletions

View File

@ -242,7 +242,8 @@ Note that:
* The second example to just build `c++utilities` and `tagparser` already shows a stripped-down list
of dependencies.
* Especially `mingw-w64-x86_64-go` is only required when building Syncthing Tray with built-in
Syncthing-library enabled.
Syncthing-library enabled. To build in an MSYS2 shell one needs to invoke `export GOROOT=/mingw64/lib/go`
so Go can find its root.
* All Qt-related dependencies are generally only required for building with Qt GUI, e.g. Tag Editor
and Password Manager can be built without Qt GUI. The libraries `c++utilities` and `tagparser` don't
require Qt at all.