diff options
author | Daniel Teske <[email protected]> | 2012-11-28 15:29:55 +0100 |
---|---|---|
committer | Daniel Teske <[email protected]> | 2012-12-07 13:43:09 +0100 |
commit | 2f862681d7168a13cc5d8f5f2355a4cdc365a730 (patch) | |
tree | 578e3200efa254d400e4704ef1a858765cd3c94b /src/plugins/autotoolsprojectmanager/configurestep.cpp | |
parent | 2b2f41db4fccc161846d3793ee7cf9624ca34514 (diff) |
ProcessParameter: Ensure macro expansion is done in the main thread
The macro expanders are not thread safe. Also the values should be
expanded in init() as later changes to e.g. the buildconfiguration
should not affect the build anymore.
Change-Id: I82f5cd229d82cdb9f897c1db69c47b028cca29d1
Reviewed-by: Eike Ziller <[email protected]>
Reviewed-by: Daniel Teske <[email protected]>
Diffstat (limited to 'src/plugins/autotoolsprojectmanager/configurestep.cpp')
-rw-r--r-- | src/plugins/autotoolsprojectmanager/configurestep.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/autotoolsprojectmanager/configurestep.cpp b/src/plugins/autotoolsprojectmanager/configurestep.cpp index dc7a1b9569a..16dc945884a 100644 --- a/src/plugins/autotoolsprojectmanager/configurestep.cpp +++ b/src/plugins/autotoolsprojectmanager/configurestep.cpp @@ -161,6 +161,7 @@ bool ConfigureStep::init() pp->setWorkingDirectory(bc->buildDirectory()); pp->setCommand(QLatin1String("configure")); pp->setArguments(additionalArguments()); + pp->resolveAll(); return AbstractProcessStep::init(); } |