diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2019-04-17 10:36:21 -0700 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2019-06-26 23:28:33 +0300 |
commit | e182dba61feb5b6872154e245014c58d99aa39d8 (patch) | |
tree | 9398604c60386e6c4019fe4e72f33b9901f17b49 /docs/markdown/snippets | |
parent | 41a0292993f6caa00fd7dea3bfe922220cd2d4e1 (diff) | |
download | meson-e182dba61feb5b6872154e245014c58d99aa39d8.zip meson-e182dba61feb5b6872154e245014c58d99aa39d8.tar.gz meson-e182dba61feb5b6872154e245014c58d99aa39d8.tar.bz2 |
dependencies/base: Set PKG_CONFIG_SYSROOT_DIR from cross file
In some cases it may be necessary to set PKG_CONFIG_SYSROOT_DIR, like
when you've mounted a host architecture system in an arbitrary path.
Meson will now check the cross files for a [properties]:sys_root
variable and set the PKG_CONFIG_SYSROOT_DIR environment variable based
on that variable.
Fixes #3801
Fixes #4057
Diffstat (limited to 'docs/markdown/snippets')
-rw-r--r-- | docs/markdown/snippets/pkg_config_enhancements.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/markdown/snippets/pkg_config_enhancements.md b/docs/markdown/snippets/pkg_config_enhancements.md new file mode 100644 index 0000000..1d63c8f --- /dev/null +++ b/docs/markdown/snippets/pkg_config_enhancements.md @@ -0,0 +1,5 @@ +## Enhancements to the pkg_config_path argument + +Setting sys_root in the [properties] section of your cross file will now set +PKG_CONFIG_SYSROOT_DIR automatically for host system dependencies when +cross compiling.
\ No newline at end of file |