pkg/ipc: support C compiler in non-standard location

If C compiler is installed e.g. in /opt then
we have to import LD_LIBRARY_PATH.

Signed-off-by: Alexander Egorenkov <Alexander.Egorenkov@ibm.com>
This commit is contained in:
Alexander Egorenkov 2020-06-02 08:32:56 +02:00 committed by Dmitry Vyukov
parent 3ea11d3f9e
commit 7c48e54f9c

View File

@ -585,7 +585,6 @@ func makeCommand(pid int, bin []string, config *Config, inFile, outFile *os.File
if inFile != nil && outFile != nil {
cmd.ExtraFiles = []*os.File{inFile, outFile}
}
cmd.Env = []string{}
cmd.Dir = dir
cmd.Stdin = outrp
cmd.Stdout = inwp