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

Fix plug-in projects with whitespaces in their name

This commit is contained in:
hogliux 2016-04-20 10:19:53 +01:00
parent e130ce1428
commit 61b27593c5

View file

@ -1889,7 +1889,7 @@ private:
if (library.substring (0, 3) == "lib")
library = library.substring (3);
return "-l" + library.upToLastOccurrenceOf (".", false, false);
return "-l" + library.replace (" ", "\\\\ ").upToLastOccurrenceOf (".", false, false);
}
String getSearchPathForStaticLibrary (const RelativePath& library) const