mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-22 22:22:11 +02:00
Bug 326671 - Fix potential NPE when building old tests.
This commit is contained in:
parent
9c85e9f651
commit
55ba7fa2f4
1 changed files with 1 additions and 1 deletions
|
@ -1296,7 +1296,7 @@ public class GnuMakefileGenerator implements IManagedBuilderMakefileGenerator2 {
|
||||||
// If this configuration produces a static archive, building the archive doesn't depend on the output
|
// If this configuration produces a static archive, building the archive doesn't depend on the output
|
||||||
// from any of the referenced configurations
|
// from any of the referenced configurations
|
||||||
IConfiguration[] refConfigs = new IConfiguration[0];
|
IConfiguration[] refConfigs = new IConfiguration[0];
|
||||||
if (!ManagedBuildManager.BUILD_ARTEFACT_TYPE_PROPERTY_STATICLIB.equals(config.getBuildArtefactType().getId()))
|
if (config.getBuildArtefactType() == null || !ManagedBuildManager.BUILD_ARTEFACT_TYPE_PROPERTY_STATICLIB.equals(config.getBuildArtefactType().getId()))
|
||||||
refConfigs = ManagedBuildManager.getReferencedConfigurations(config);
|
refConfigs = ManagedBuildManager.getReferencedConfigurations(config);
|
||||||
|
|
||||||
/* try {
|
/* try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue