Merged the fix of CompressDll.dll manifest issue when built by VS2005

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2521 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jwang36 2007-04-02 07:38:34 +00:00
parent 18f95092d6
commit e22f5aaab7
1 changed files with 10 additions and 0 deletions

View File

@ -57,6 +57,16 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<linkerarg value="-mno-cygwin" if="cygwin"/>
<linkerarg value="--add-stdcall-alias" if="cygwin"/>
</cc>
<if>
<available file="${result}.manifest"/>
<then>
<exec executable="mt.exe">
<arg value="-manifest"/>
<arg value="${result}.manifest"/>
<arg value="-outputresource:${result};2"/>
</exec>
</then>
</if>
<copy file="${result}" tofile="${BIN_DIR}/CompressDll.dll"/>
<chmod file="${BIN_DIR}/CompressDll.dll" perm="ugo+x"/>
</target>