-
- Downloads
mac/super: restore definition of effective_sysroot
In https://github.com/Homebrew/brew/commit/0d189fae57bad6c209b471eba9e0b254a2b40886 we completely removed `effective_sysroot`, which consequently left all the `effective_sysroot`/usr/include calls pointing at `/usr/include`. This is wildly problematic on systems where the Command Line Tools aren't installed because `/usr/include` is not a default-created folder prior to CLT installation. I'm unsure if `effective_sysroot` should still be mentioned in Library/Homebrew/extend/ENV/super.rb at all. If it can be deleted, feel free to do that without waiting for me to review. This seems to fix: * https://github.com/Homebrew/homebrew-core/issues/2991 * https://github.com/Homebrew/homebrew-core/issues/2986 * https://github.com/Homebrew/homebrew-core/issues/2962
Please register or sign in to comment