fix custom link options parsing (#291)
This commit is contained in:
parent
e6f65acf00
commit
5be546e97f
|
@ -590,11 +590,12 @@ QStringList Compiler::getLibraryArguments(FileType fileType)
|
|||
|
||||
// Add global compiler linker extras
|
||||
if (compilerSet()->useCustomLinkParams() && !compilerSet()->customLinkParams().isEmpty()) {
|
||||
QStringList params = textToLines(compilerSet()->customLinkParams());
|
||||
if (!params.isEmpty()) {
|
||||
QMap<QString, QString> macros = devCppMacroVariables();
|
||||
QStringList params = parseArguments(compilerSet()->customLinkParams(), macros, true);
|
||||
if (!params.isEmpty()) {
|
||||
foreach(const QString& param, params)
|
||||
result << param;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (mProject) {
|
||||
|
|
Loading…
Reference in New Issue