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.
This commit is contained in:
parent
1ae0e93d7e
commit
ca14962ab9
@ -43,6 +43,7 @@ class << ENV
|
|||||||
check
|
check
|
||||||
ENV['CC'] = 'cc'
|
ENV['CC'] = 'cc'
|
||||||
ENV['CXX'] = 'c++'
|
ENV['CXX'] = 'c++'
|
||||||
|
ENV['DEVELOPER_DIR'] = determine_developer_dir # effects later settings
|
||||||
ENV['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
|
ENV['MAKEFLAGS'] ||= "-j#{determine_make_jobs}"
|
||||||
ENV['PATH'] = determine_path
|
ENV['PATH'] = determine_path
|
||||||
ENV['PKG_CONFIG_PATH'] = determine_pkg_config_path
|
ENV['PKG_CONFIG_PATH'] = determine_pkg_config_path
|
||||||
@ -55,7 +56,6 @@ class << ENV
|
|||||||
ENV['CMAKE_LIBRARY_PATH'] = determine_cmake_library_path
|
ENV['CMAKE_LIBRARY_PATH'] = determine_cmake_library_path
|
||||||
ENV['ACLOCAL_PATH'] = determine_aclocal_path
|
ENV['ACLOCAL_PATH'] = determine_aclocal_path
|
||||||
ENV['VERBOSE'] = '1' if ARGV.verbose?
|
ENV['VERBOSE'] = '1' if ARGV.verbose?
|
||||||
ENV['DEVELOPER_DIR'] = determine_developer_dir
|
|
||||||
end
|
end
|
||||||
|
|
||||||
def check
|
def check
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user