Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc-Andre Laperle2011-07-26 00:37:37 -0400
committerMarc-Andre Laperle2011-07-26 00:37:37 -0400
commitc7f03bd3d99986215778bbac8b3b081ed2a6ae03 (patch)
tree6398d64a904d9221081a7eafbfc38217848449d2 /cross/org.eclipse.cdt.build.crossgcc/plugin.xml
parentd592d691aaa79832843e991734a3ef2c1a819c40 (diff)
downloadorg.eclipse.cdt-c7f03bd3d99986215778bbac8b3b081ed2a6ae03.tar.gz
org.eclipse.cdt-c7f03bd3d99986215778bbac8b3b081ed2a6ae03.tar.xz
org.eclipse.cdt-c7f03bd3d99986215778bbac8b3b081ed2a6ae03.zip
Bug 344009 - Eclipse CDT uses wrong command to build static library
(crossgcc, msvc)
Diffstat (limited to 'cross/org.eclipse.cdt.build.crossgcc/plugin.xml')
-rw-r--r--[-rwxr-xr-x]cross/org.eclipse.cdt.build.crossgcc/plugin.xml32
1 files changed, 32 insertions, 0 deletions
diff --git a/cross/org.eclipse.cdt.build.crossgcc/plugin.xml b/cross/org.eclipse.cdt.build.crossgcc/plugin.xml
index 225f47129f..a081fe64dc 100755..100644
--- a/cross/org.eclipse.cdt.build.crossgcc/plugin.xml
+++ b/cross/org.eclipse.cdt.build.crossgcc/plugin.xml
@@ -78,6 +78,15 @@
isAbstract="false"
name="Cross GCC Linker"
superClass="cdt.managedbuild.tool.gnu.c.linker">
+ <enablement
+ type="ALL">
+ <not>
+ <checkBuildProperty
+ property="org.eclipse.cdt.build.core.buildArtefactType"
+ value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
+ </checkBuildProperty>
+ </not>
+ </enablement>
</tool>
<tool
commandLineGenerator="org.eclipse.cdt.internal.build.crossgcc.CrossCommandLineGenerator"
@@ -85,6 +94,29 @@
isAbstract="false"
name="Cross G++ Linker"
superClass="cdt.managedbuild.tool.gnu.cpp.linker">
+ <enablement
+ type="ALL">
+ <not>
+ <checkBuildProperty
+ property="org.eclipse.cdt.build.core.buildArtefactType"
+ value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
+ </checkBuildProperty>
+ </not>
+ </enablement>
+ </tool>
+ <tool
+ commandLineGenerator="org.eclipse.cdt.internal.build.crossgcc.CrossCommandLineGenerator"
+ id="cdt.managedbuild.tool.gnu.cross.archiver"
+ isAbstract="false"
+ name="Cross GCC Archiver"
+ superClass="cdt.managedbuild.tool.gnu.archiver">
+ <enablement
+ type="ALL">
+ <checkBuildProperty
+ property="org.eclipse.cdt.build.core.buildArtefactType"
+ value="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
+ </checkBuildProperty>
+ </enablement>
</tool>
</toolChain>
<projectType

Back to the top