From d4e33a0c2b8641b4a48eb44a89fca2debc1495a9 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Sat, 25 Apr 2020 20:36:57 +0200 Subject: [PATCH] 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 --- libnm/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libnm/meson.build b/libnm/meson.build index 98d39f8ea8..406766c707 100644 --- a/libnm/meson.build +++ b/libnm/meson.build @@ -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, ]