Commit f56e90f5 authored by Christian Kandeler's avatar Christian Kandeler Committed by hjk
Browse files

Maemo: Fix Qemu start on Mac.

(cherry picked from commit 5427f7bf)
parent 901ea3e4
......@@ -352,9 +352,13 @@ void QemuRuntimeManager::startRuntime()
env.insert(key, env.value(key) % colon % root % QLatin1String("bin"));
env.insert(key, env.value(key) % colon % root % QLatin1String("madlib"));
#elif defined(Q_OS_UNIX)
# if defined(Q_OS_MAC)
const QLatin1String key("DYLD_LIBRARY_PATH");
# else
const QLatin1String key("LD_LIBRARY_PATH");
# endif // MAC
env.insert(key, env.value(key) % QLatin1Char(':') % rt.m_libPath);
#endif // WIN/UNIX
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