aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorJack Nagel2014-12-17 14:37:03 -0500
committerJack Nagel2014-12-17 14:40:05 -0500
commit6096ec95680a87456b03060d37acef19827978d0 (patch)
tree275badfddc389b955a2da5b7ce1e4b4af242a4a6 /Library/Homebrew
parent9a2f2aee7ec4cf9fb0e02f0eb07eaaf3680ec608 (diff)
downloadbrew-6096ec95680a87456b03060d37acef19827978d0.tar.bz2
Unset LIBRARY_PATH before builds
See https://gcc.gnu.org/onlinedocs/gcc/Environment-Variables.html Closes Homebrew/homebrew-versions#592.
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/extend/ENV/shared.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/extend/ENV/shared.rb b/Library/Homebrew/extend/ENV/shared.rb
index 943452c4b..b25263a17 100644
--- a/Library/Homebrew/extend/ENV/shared.rb
+++ b/Library/Homebrew/extend/ENV/shared.rb
@@ -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)