mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-23 12:10:46 +02:00
libnm/meson.build: stop using env -i (just env)
env -i starts with an empty environment, which is undesired when the build
environment needs certain environment variables to function.
One such example is a custom PYTHONPATH, which gets dropped by env -i and
results in the nm-settings-docs.xml generator not finding the gi Python module.
https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/478
(cherry picked from commit d4e33a0c2b)
This commit is contained in:
parent
dbe7b8749d
commit
571520cf05
1 changed files with 1 additions and 1 deletions
|
|
@ -255,7 +255,7 @@ if enable_introspection
|
|||
ld_library_path = meson.current_build_dir() + ld_library_path
|
||||
|
||||
generate_setting_docs_env = [
|
||||
'env', '-i',
|
||||
'env',
|
||||
'GI_TYPELIB_PATH=' + gi_typelib_path,
|
||||
'LD_LIBRARY_PATH=' + ld_library_path,
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue