Skip to content

Commit

Permalink
[#592] add Group libraries - fix Activator.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ilg-ul committed Mar 19, 2024
1 parent ec27d9e commit 137159f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@
import org.eclipse.cdt.managedbuilder.core.IOptionCommandGenerator;
import org.eclipse.cdt.utils.cdtvariables.CdtVariableResolver;
import org.eclipse.cdt.utils.cdtvariables.IVariableSubstitutor;
import org.eclipse.core.runtime.Platform;
import org.eclipse.core.runtime.Status;
import org.eclipse.embedcdt.internal.managedbuild.cross.core.Activator;

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

0 comments on commit 137159f

Please sign in to comment.