Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorAlena Laskavaia2008-09-18 12:46:43 +0000
committerAlena Laskavaia2008-09-18 12:46:43 +0000
commit1ce9d53a72721682970e031b79ce91f910ab1b8e (patch)
tree197b205462d750d99e3f714c690797f9045fe7f3 /build
parentdc0cf7429c7e293ca6de1f2a9059656f86a2311b (diff)
downloadorg.eclipse.cdt-1ce9d53a72721682970e031b79ce91f910ab1b8e.tar.gz
org.eclipse.cdt-1ce9d53a72721682970e031b79ce91f910ab1b8e.tar.xz
org.eclipse.cdt-1ce9d53a72721682970e031b79ce91f910ab1b8e.zip
[112577] - fixed bug when changing artifact from executable to static library
Diffstat (limited to 'build')
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java
index 70cda195774..8d83362fad1 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/ToolSettingsTab.java
@@ -622,7 +622,9 @@ public class ToolSettingsTab extends AbstractCBuildPropertyTab implements IPrefe
} else return;
if (t1.length != t2.length) return; // not our case
for (int i=0; i<t1.length; i++)
- copyHoldsOptions(t1[i], t2[i], ri2);
+ if ((t1[i].getUniqueRealName()).equals(t2[i].getUniqueRealName())) {
+ copyHoldsOptions(t1[i], t2[i], ri2);
+ }
setDirty(false);
}

Back to the top