superenv: fix no-op system path filtering

This commit is contained in:
Jack Nagel 2013-08-29 19:03:35 -05:00
parent b3f0b9f7b9
commit d61d054eac

View File

@ -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