From 85c76708c949dd832d9200a8d92cdf9e1a028547 Mon Sep 17 00:00:00 2001 From: Martchus Date: Tue, 2 Jan 2024 14:39:34 +0100 Subject: [PATCH] Mention setting GOROOT for building with MSYS2 mingw-w64 packaging --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6d1d46d..05bfd20 100644 --- a/README.md +++ b/README.md @@ -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.