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:
Tim D. Smith
2016-09-02 17:55:37 -07:00
committed by GitHub
+3 -1
View File
@@ -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?