aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-09-24 09:29:55 -0400
committerMax Howell2012-09-24 09:49:54 -0400
commit7b717655f482272569d47cf7e373ffc1bd84e6e2 (patch)
treeba0802b056197df6d95af35a7b5bd882fd1039b3 /Library
parent557cf057ec219a93b4c4bf2603a56f558b1cb7b0 (diff)
downloadhomebrew-7b717655f482272569d47cf7e373ffc1bd84e6e2.tar.bz2
Assign DEVELOPER_DIR before it is needed
On a broken set up, setting DEVELOPER_DIR can fix builds, provided it is set early enough to impact them.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/superenv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/superenv.rb b/Library/Homebrew/superenv.rb
index 2697e80b8..69d0b4bc4 100644
--- a/Library/Homebrew/superenv.rb
+++ b/Library/Homebrew/superenv.rb
@@ -43,6 +43,7 @@ class << ENV
check
ENV['CC'] = 'cc'
ENV['CXX'] = 'c++'
+ ENV['DEVELOPER_DIR'] = determine_developer_dir # effects later settings
ENV['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
ENV['PATH'] = determine_path
ENV['PKG_CONFIG_PATH'] = determine_pkg_config_path
@@ -55,7 +56,6 @@ class << ENV
ENV['CMAKE_LIBRARY_PATH'] = determine_cmake_library_path
ENV['ACLOCAL_PATH'] = determine_aclocal_path
ENV['VERBOSE'] = '1' if ARGV.verbose?
- ENV['DEVELOPER_DIR'] = determine_developer_dir
end
def check