Skip to content

Commit

Permalink
Expand options after setting variables
Browse files Browse the repository at this point in the history
  • Loading branch information
navzam committed Jul 5, 2013
1 parent a93857b commit e349b33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/compile_worker.cpp
Expand Up @@ -105,6 +105,7 @@ Compiler::OutputList CompileWorker::compile()
Options opts = Options::load(QDir::current().filePath("platform.hints"));
opts.setVariable("${PREFIX}", QDir::current().filePath("prefix"));
opts.setVariable("${USER_ROOT}", m_userRoot);
opts.expand();

return engine.compile(Input::fromList(extracted), opts, this);
}
Expand Down

0 comments on commit e349b33

Please sign in to comment.