mirror of
https://github.com/gosticks/brew.git
synced 2026-10-05 23:16:55 +00:00
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:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user