Browse Source

Projucer: Escape quotes in plug-in shared code linker flag

tags/2021-05-28
ed 6 years ago
parent
commit
16d0697216
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h

+ 1
- 1
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h View File

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


Loading…
Cancel
Save