[llvm-commits] [patch] make Program::FindProgramByName not look in "." unless it's in $PATH

Pawel Worach pawel.worach at gmail.com
Mon Jul 27 12:44:47 PDT 2009


Hi,

This patch fixes the FIXME regarding looking in "." for ld, as,
clang-cc and friends unconditionally.
If "." is in $PATH it will pick up the program in "." correctly.
Tested on Unix only.

Solution suggested by edwin on #llvm.

Regards
-- 
Pawel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: program-path.diff
Type: application/octet-stream
Size: 1142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090727/6d5e4646/attachment.obj>


More information about the llvm-commits mailing list