Skip to content

Commit 137159f

Browse files
committed
[#592] add Group libraries - fix Activator.log
1 parent ec27d9e commit 137159f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

plugins/org.eclipse.embedcdt.managedbuild.cross.core/src/org/eclipse/embedcdt/managedbuild/cross/core/LibrariesCommandGenerator.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@
2323
import org.eclipse.cdt.managedbuilder.core.IOptionCommandGenerator;
2424
import org.eclipse.cdt.utils.cdtvariables.CdtVariableResolver;
2525
import org.eclipse.cdt.utils.cdtvariables.IVariableSubstitutor;
26-
import org.eclipse.core.runtime.Platform;
27-
import org.eclipse.core.runtime.Status;
26+
import org.eclipse.embedcdt.internal.managedbuild.cross.core.Activator;
2827

2928
/**
3029
* An option command generator to group libraries on the GNU linker command line
@@ -58,7 +57,7 @@ public String generateCommand(IOption option, IVariableSubstitutor macroSubstitu
5857
}
5958
}
6059
} catch (BuildException | CdtVariableException e) {
61-
Platform.getLog(getClass()).log(Status.error("Error generating libraries command", e)); //$NON-NLS-1$
60+
Activator.log("Error generating libraries command" + e); //$NON-NLS-1$
6261
}
6362
return null; // fallback to default command generator
6463
}

0 commit comments

Comments
 (0)