std::string const & Package::configure_command() const
{
if (configure_command_.empty()) {
- std::string &command = const_cast<std::string&>(configure_command_);
FileName const configure_script(addName(system_support().absFileName(), "configure.py"));
- command = os::python() + ' ' +
+ configure_command_ = os::python() + ' ' +
quoteName(configure_script.toFilesystemEncoding()) +
with_version_suffix() + " --binary-dir=" +
quoteName(FileName(binary_dir().absFileName()).toFilesystemEncoding());