diff options
| author | Xavier Claessens <xclaesse@gmail.com> | 2021-03-23 17:35:05 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-23 23:35:05 +0200 |
| commit | a9e9b7c7501a3c8a5984a93879d1f309bf8c72aa (patch) | |
| tree | d578c6e790ce958e04531f22004f52ab2aae1422 /docs | |
| parent | 1be13710adba2126f5731fccdf698a9d405a9d67 (diff) | |
| download | meson-a9e9b7c7501a3c8a5984a93879d1f309bf8c72aa.tar.gz | |
devenv: Set GI_TYPELIB_PATH and LD_LIBRARY_PATH (#8548)
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/markdown/Commands.md | 7 | ||||
| -rw-r--r-- | docs/markdown/snippets/devenv.md | 8 |
2 files changed, 14 insertions, 1 deletions
diff --git a/docs/markdown/Commands.md b/docs/markdown/Commands.md index 0751aede5..fc8cdd2e9 100644 --- a/docs/markdown/Commands.md +++ b/docs/markdown/Commands.md @@ -295,5 +295,12 @@ These variables are set in environment in addition to those set using `meson.add - `PATH` includes every directory where there is an executable that would be installed into `bindir`. On windows it also includes every directory where there is a DLL needed to run those executables. +- `LD_LIBRARY_PATH` includes every directory where there is a shared library that + would be installed into `libdir`. This allows to run system application using + custom build of some libraries. For example running system GEdit when building + GTK from git. On OSX the environment variable is `DYLD_LIBRARY_PATH` and + `PATH` on Windows. +- `GI_TYPELIB_PATH` includes every directory where a GObject Introspection + typelib is built. This is automatically set when using `gnome.generate_gir()`. {{ devenv_arguments.inc }} diff --git a/docs/markdown/snippets/devenv.md b/docs/markdown/snippets/devenv.md index c3bac10e5..116094524 100644 --- a/docs/markdown/snippets/devenv.md +++ b/docs/markdown/snippets/devenv.md @@ -26,4 +26,10 @@ These variables are set in environment in addition to those set using `meson.add - `PATH` includes every directory where there is an executable that would be installed into `bindir`. On windows it also includes every directory where there is a DLL needed to run those executables. - +- `LD_LIBRARY_PATH` includes every directory where there is a shared library that + would be installed into `libdir`. This allows to run system application using + custom build of some libraries. For example running system GEdit when building + GTK from git. On OSX the environment variable is `DYLD_LIBRARY_PATH` and + `PATH` on Windows. +- `GI_TYPELIB_PATH` includes every directory where a GObject Introspection + typelib is built. This is automatically set when using `gnome.generate_gir()`. |
