mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 13:17:58 +03:00
util: Preserve macOS dyld environment by default
The DYLD_* environment variables on macOS have the same purpose as the LD_* variables have on Linux. Since we're preserving the latter by default, it makes sense to do the same for the former as well. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
f1929d4289
commit
9a1ef574ee
@ -1417,6 +1417,8 @@ virCommandAddEnvPassCommon(virCommand *cmd)
|
||||
|
||||
virCommandAddEnvPass(cmd, "LD_PRELOAD");
|
||||
virCommandAddEnvPass(cmd, "LD_LIBRARY_PATH");
|
||||
virCommandAddEnvPass(cmd, "DYLD_INSERT_LIBRARIES");
|
||||
virCommandAddEnvPass(cmd, "DYLD_FORCE_FLAT_NAMESPACE");
|
||||
virCommandAddEnvPass(cmd, "PATH");
|
||||
virCommandAddEnvPass(cmd, "HOME");
|
||||
virCommandAddEnvPass(cmd, "USER");
|
||||
|
Loading…
Reference in New Issue
Block a user