forked from qt-creator/qt-creator
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user