Merge pull request #845 from tdsmith/usr-local-sdkroot
Don't reject -L/usr/local/lib when SDKROOT is defined Closes #844. Fixes Homebrew/homebrew-fuse#62.
This commit is contained in:
commit
d39eeac0d5
@ -279,7 +279,9 @@ class Cmd
|
||||
end
|
||||
|
||||
def system_library_paths
|
||||
%W[#{sysroot}/usr/lib /usr/local/lib]
|
||||
paths = ["#{sysroot}/usr/lib"]
|
||||
paths << "/usr/local/lib" unless sysroot || ENV["SDKROOT"]
|
||||
paths
|
||||
end
|
||||
|
||||
def configure?
|
||||
|
Loading…
x
Reference in New Issue
Block a user