Skip to content

Commit

Permalink
set SDKROOT in the environment
Browse files Browse the repository at this point in the history
Closes: #147
  • Loading branch information
jmroot committed Sep 29, 2019
1 parent 3768efd commit dabf0a7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/port1.0/portutil.tcl
Expand Up @@ -426,6 +426,9 @@ proc command_exec {command args} {
set ${varprefix}.env_array(LIBRARY_PATH) [join [option compiler.library_path] :]
}
set ${varprefix}.env_array(DEVELOPER_DIR) [option configure.developer_dir]
if {[option configure.sdkroot] ne ""} {
set ${varprefix}.env_array(SDKROOT) [option configure.sdkroot]
}

# Debug that.
ui_debug "Environment: [environment_array_to_string ${varprefix}.env_array]"
Expand Down

0 comments on commit dabf0a7

Please sign in to comment.