mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +02:00
Bug 324816 - GnuMakefileGenerator does not properly handle tools which have more than one primary input type
This commit is contained in:
parent
6559679143
commit
505a3552fe
1 changed files with 1 additions and 1 deletions
|
@ -2910,7 +2910,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
|
|||
allRes.add(re);
|
||||
}
|
||||
// 2. From InputTypes that other than the primary input type
|
||||
if (type != tool.getPrimaryInputType()) {
|
||||
if (!type.getPrimaryInput() && type != tool.getPrimaryInputType()) {
|
||||
String var = type.getBuildVariable();
|
||||
if (var != null && var.length() > 0) {
|
||||
allRes.add(Path.fromOSString("$(" + type.getBuildVariable() + ")")); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
|
|
Loading…
Add table
Reference in a new issue