diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 9a3f81e608..597b75d33a 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -180,7 +180,7 @@ class Cmd # We reject brew's lib as we explicitly add this as a -L flag, thus it # is given higher priority by cc, so it surpasses the system libpath. # NOTE this only counts if Homebrew is installed at /usr/local - syspath.map{|d| "#{d}/lib" }.reject{ "#$brewfix/lib" } + syspath.map{|d| "#{d}/lib" }.reject{|d| d == "#$brewfix/lib" } end def syscpath isystem, _ = cpath