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
This commit is contained in:
kh1
2010-04-07 17:32:02 +02:00
parent 8b969a67a0
commit 1c31ff98a0

View File

@@ -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");