diff options
author | Sam James <sam@gentoo.org> | 2025-06-14 18:28:01 +0100 |
---|---|---|
committer | Jussi Pakkanen <jussi.pakkanen@mailbox.org> | 2025-06-17 14:09:12 +0300 |
commit | 32978023ee995667ec7def4e857777bb61ffbefa (patch) | |
tree | 517e1cd95bb03096265c7911aab728e41accc686 /docs/markdown | |
parent | bf01fc50800eb011619ca40887deeddeeac5fbe5 (diff) | |
download | meson-32978023ee995667ec7def4e857777bb61ffbefa.zip meson-32978023ee995667ec7def4e857777bb61ffbefa.tar.gz meson-32978023ee995667ec7def4e857777bb61ffbefa.tar.bz2 |
docs: use backticks for envvars
Diffstat (limited to 'docs/markdown')
-rw-r--r-- | docs/markdown/Cross-compilation.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/markdown/Cross-compilation.md b/docs/markdown/Cross-compilation.md index 891ea4d..65daa22 100644 --- a/docs/markdown/Cross-compilation.md +++ b/docs/markdown/Cross-compilation.md @@ -189,12 +189,12 @@ remember to specify the args as an array and not as a single string *Since 0.52.0* The `sys_root` property may point to the root of the host system path (the system that will run the compiled binaries). -This is used internally by Meson to set the PKG_CONFIG_SYSROOT_DIR +This is used internally by Meson to set the `PKG_CONFIG_SYSROOT_DIR` environment variable for pkg-config. If this is unset the host system is assumed to share a root with the build system. *Since 0.54.0* The `pkg_config_libdir` property may point to a list of -path used internally by Meson to set the PKG_CONFIG_LIBDIR environment +path used internally by Meson to set the `PKG_CONFIG_LIBDIR` environment variable for pkg-config. This prevents pkg-config from searching cross dependencies in system directories. @@ -373,7 +373,7 @@ myvar = meson.get_external_property('somekey') As of version 0.44.0 Meson supports loading cross files from system locations (except on Windows). This will be -$XDG_DATA_DIRS/meson/cross, or if XDG_DATA_DIRS is undefined, then +`$XDG_DATA_DIRS/meson/cross`, or if `XDG_DATA_DIRS` is undefined, then /usr/local/share/meson/cross and /usr/share/meson/cross will be tried in that order, for system wide cross files. User local files can be put in $XDG_DATA_HOME/meson/cross, or ~/.local/share/meson/cross if |