superenv: fix no-op system path filtering
This commit is contained in:
parent
b3f0b9f7b9
commit
d61d054eac
@ -180,7 +180,7 @@ class Cmd
|
|||||||
# We reject brew's lib as we explicitly add this as a -L flag, thus it
|
# 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.
|
# is given higher priority by cc, so it surpasses the system libpath.
|
||||||
# NOTE this only counts if Homebrew is installed at /usr/local
|
# 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
|
end
|
||||||
def syscpath
|
def syscpath
|
||||||
isystem, _ = cpath
|
isystem, _ = cpath
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user