From d61d054eac964d1a8e4b94904a3692da1f944101 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 29 Aug 2013 19:03:35 -0500 Subject: [PATCH] superenv: fix no-op system path filtering --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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