Commit 1c31ff98 authored by kh1's avatar kh1
Browse files

Fix "broken" qmake call on OSX for maemo.

Tested on OSX, otherwise qmake will automatically append -macx which
results in Makefiles containing references to the host Qt libraries,
e.g. -lQtCore_debug etc...

Reviewed-by: dt
parent 8b969a67
......@@ -106,7 +106,7 @@ QStringList QMakeStep::allArguments()
if (!additonalArguments.contains("-spec"))
arguments << "-spec" << bc->qtVersion()->mkspec();
#ifdef Q_OS_WIN
#if defined(Q_OS_WIN) || defined(Q_OS_MAC)
ToolChain::ToolChainType type = bc->toolChainType();
if (type == ToolChain::GCC_MAEMO)
arguments << QLatin1String("-unix");
......
Supports Markdown
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