Commit 5055d15f authored by Ghislain MARY's avatar Ghislain MARY

Allow defining environment variable for the configure command in builders.

parent 8717d293
......@@ -228,6 +228,7 @@ macro(linphone_builder_create_configure_command PROJNAME)
foreach(OPTION ${EP_${PROJNAME}_CROSS_COMPILATION_OPTIONS} ${EP_${PROJNAME}_LINKING_TYPE} ${EP_${PROJNAME}_CONFIGURE_OPTIONS})
set(ep_configure_options "${ep_configure_options} \"${OPTION}\"")
endforeach(OPTION)
set(ep_configure_env "${EP_${PROJNAME}_CONFIGURE_ENV}")
set(ep_configure_command "${ep_source}/configure ${ep_configure_options}")
endif("${EP_${PROJNAME}_CONFIGURE_OPTIONS_PASSED_TO_AUTOGEN}" STREQUAL "yes")
endmacro(linphone_builder_create_configure_command)
......
......@@ -25,5 +25,5 @@ cd @ep_build@
if [ ! -f @ep_config_h_file@ ]
then
@ep_autogen_command@ @ep_redirect_to_file@
@ep_configure_command@ @ep_redirect_to_file@
@ep_configure_env@ @ep_configure_command@ @ep_redirect_to_file@
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment