1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Introjucer: Fix for makefile paths containing spaces.

This commit is contained in:
jules 2015-02-01 18:46:52 +00:00
parent 7043152e6e
commit 37e2fcbf69
2 changed files with 2 additions and 2 deletions

View file

@ -146,7 +146,7 @@ private:
searchPaths.removeDuplicates (false);
for (int i = 0; i < searchPaths.size(); ++i)
out << " -I " << addQuotesIfContainsSpaces (FileHelpers::unixStylePath (replacePreprocessorTokens (config, searchPaths[i])));
out << " -I " << escapeSpaces (FileHelpers::unixStylePath (replacePreprocessorTokens (config, searchPaths[i])));
}
void writeCppFlags (OutputStream& out, const BuildConfiguration& config) const

View file

@ -704,7 +704,7 @@ String ProjectExporter::BuildConfiguration::getGCCLibraryPathFlags() const
const StringArray libraryPaths (getLibrarySearchPaths());
for (int i = 0; i < libraryPaths.size(); ++i)
s << " -L" << addQuotesIfContainsSpaces (libraryPaths[i]);
s << " -L" << escapeSpaces (libraryPaths[i]);
return s;
}