Skip to content

Commit

Permalink
Clarify shell variables in cross compiling documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hillu committed Apr 5, 2024
1 parent cdcb978 commit d64a02b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.cross-building.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d64a02b

Please sign in to comment.