From d64a02b50e1c4e63a3b3b893584151c2b884f62c Mon Sep 17 00:00:00 2001 From: Hilko Bengen Date: Fri, 5 Apr 2024 10:06:00 +0200 Subject: [PATCH] Clarify shell variables in cross compiling documentation --- README.cross-building.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.cross-building.md b/README.cross-building.md index da934a0..51aa891 100644 --- a/README.cross-building.md +++ b/README.cross-building.md @@ -20,9 +20,11 @@ variables need to be set when running `go build` or `go install`: used together with `CGO_CFLAGS` and `CGO_LDFLAGS` environment variables.) -For the examples below, YARA is built out-of-tree. `YARA_SRC` refers -to the directory that holds the YARA sources. The `YARA_BUILD_*` -variables refer to directories in which build artifacts are placed. +For the examples below, YARA is built out-of-tree, i.e. the build +artifacts are placed into a separate directory referred to by the +`YARA_BUILD_*` shell variables. `YARA_SRC` refers to the YARA source +directory. The `PREFIX_*` refer to target directory for the `make +install` step. Since the MinGW environments provided by [MSYS2](https://msys2.org/) are technically cross-building environments, similar steps have to be