mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 17:05:26 +02:00
Bug 417228. Escape filenames for secondary targets in
GnuMakefileGenerator.java. Change-Id: Ica4808ffce9642e455983905404d9c8303bb2cd8 Signed-off-by: Liviu Ionescu <ilg@livius.net> Reviewed-on: https://git.eclipse.org/r/16433 Reviewed-by: Andrew Gvozdev <angvoz.dev@gmail.com> IP-Clean: Andrew Gvozdev <angvoz.dev@gmail.com> Tested-by: Andrew Gvozdev <angvoz.dev@gmail.com>
This commit is contained in:
parent
05841be5fc
commit
59efb5abcf
1 changed files with 4 additions and 0 deletions
|
@ -3880,6 +3880,10 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
|
|||
for (int i=0; i<filenames.size(); i++) {
|
||||
String filename = filenames.get(i);
|
||||
if (filename.length() > 0) {
|
||||
|
||||
// Bug 417288, ilg@livius.net & freidin.alex@gmail.com
|
||||
filename = ensurePathIsGNUMakeTargetRuleCompatibleSyntax(filename);
|
||||
|
||||
buffer.append(filename + WHITESPACE + LINEBREAK);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue