PR: MPNATIVE-12

Create .lib with full name


git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@368490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
ltheussl
2006-01-12 22:04:55 +00:00
parent a974b81f32
commit 3f7d6ae692
2 changed files with 8 additions and 2 deletions

View File

@@ -154,11 +154,16 @@
</j:if>
<!-- dll -->
<ant:available property="outputPresentDLL" file="${maven.build.dir}/native/_.dll"/>
<ant:available property="outputPresentDLL" file="${maven.build.dir}/native/_.dll"/>
<j:if test="${outputPresentDLL == 'true'}">
<ant:copy file="${maven.build.dir}/native/_.dll"
tofile="${maven.build.dir}/native/${pom.artifactId}-${pom.currentVersion}.dll" overwrite="true"/>
</j:if>
<ant:available property="outputPresentLIB" file="${maven.build.dir}/native/_.lib"/>
<j:if test="${outputPresentLIB == 'true'}">
<ant:copy file="${maven.build.dir}/native/_.lib"
tofile="${maven.build.dir}/native/${pom.artifactId}-${pom.currentVersion}.lib" overwrite="true"/>
</j:if>
</j:if>
<!-- dylib -->
<ant:available property="outputPresentDylib" file="${maven.build.dir}/native/lib_.dylib"/>