fix(launchDoctor): support existing LD_LIBRARY_PATH (#3165)
This commit is contained in:
parent
f4e584ea08
commit
9b502af4e3
|
|
@ -121,7 +121,7 @@ function lddAsync(filePath: string): Promise<{stdout: string, stderr: string, co
|
||||||
cwd: dirname,
|
cwd: dirname,
|
||||||
env: {
|
env: {
|
||||||
...process.env,
|
...process.env,
|
||||||
LD_LIBRARY_PATH: dirname,
|
LD_LIBRARY_PATH: process.env.LD_LIBRARY_PATH ? `${process.env.LD_LIBRARY_PATH}:${dirname}` : dirname,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue