Unset LIBRARY_PATH before builds

See https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html

Closes Homebrew/homebrew-versions#592.
This commit is contained in:
Jack Nagel 2014-12-17 14:37:03 -05:00
parent 9a2f2aee7e
commit 6096ec9568

View File

@ -25,6 +25,7 @@ module SharedEnvExtension
MACOSX_DEPLOYMENT_TARGET SDKROOT DEVELOPER_DIR
CMAKE_PREFIX_PATH CMAKE_INCLUDE_PATH CMAKE_FRAMEWORK_PATH
GOBIN
LIBRARY_PATH
]
def setup_build_environment(formula=nil)