Prepend the path instead of append, caused some trouble for fkleint.

This commit is contained in:
kh1
2010-09-09 15:24:54 +02:00
parent 385a3d041d
commit d0c5f55d96

View File

@@ -369,8 +369,8 @@ void MaemoQemuManager::startRuntime()
#ifdef Q_OS_WIN
const QLatin1Char colon(';');
const QLatin1String key("PATH");
env.insert(key, env.value(key) % colon % root % QLatin1String("bin"));
env.insert(key, env.value(key) % colon % root % QLatin1String("madlib"));
env.insert(key, root % QLatin1String("bin") % colon % env.value(key));
env.insert(key, root % QLatin1String("madlib") % colon % env.value(key));
#elif defined(Q_OS_UNIX)
const QLatin1String key("LD_LIBRARY_PATH");
env.insert(key, env.value(key) % QLatin1Char(':') % rt.m_libPath);