diff options
author | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-02 07:38:34 +0000 |
---|---|---|
committer | jwang36 <jwang36@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-04-02 07:38:34 +0000 |
commit | e22f5aaab77319a0c824d4259d2c9c3e9eae5c47 (patch) | |
tree | afd77065171a5ef5c5cfbe3504815a232320178b /Tools/CCode | |
parent | 18f95092d6bf694adf5ad9e7a1e8036d19ed3c8d (diff) | |
download | edk2-platforms-e22f5aaab77319a0c824d4259d2c9c3e9eae5c47.tar.xz |
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
Diffstat (limited to 'Tools/CCode')
-rw-r--r-- | Tools/CCode/Source/CompressDll/build.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Tools/CCode/Source/CompressDll/build.xml b/Tools/CCode/Source/CompressDll/build.xml index 6f591b371b..1b0e281103 100644 --- a/Tools/CCode/Source/CompressDll/build.xml +++ b/Tools/CCode/Source/CompressDll/build.xml @@ -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>
|