summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-04 22:51:18 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-10-04 22:51:18 +0000
commit2e4af2a18f6f352367a3b880b7ad98b0aa985a0f (patch)
treed4953c8d7af6dd63188628e33fcaa1d94d6c4d26
parentd41eaad28dc9a07208cf2a5876ae733fd51d6889 (diff)
downloadedk2-platforms-2e4af2a18f6f352367a3b880b7ad98b0aa985a0f.tar.xz
Add AutoGen.h.obj to the list of files to link to resolve a link failure with VS 2005
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1653 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--Tools/Conf/BuildMacro.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/Tools/Conf/BuildMacro.xml b/Tools/Conf/BuildMacro.xml
index 38c048bd51..b149cd6964 100644
--- a/Tools/Conf/BuildMacro.xml
+++ b/Tools/Conf/BuildMacro.xml
@@ -517,6 +517,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<sequential>
<var name="FILE_BASENAME" value="@{FILENAME}" />
<var name="FILE_PATH" value="." />
+ <if>
+ <available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
+ <then>
+ <var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
+ </then>
+ </if>
<mkdir dir="${BIN_DIR}"/>
<OnDependency>
@@ -788,6 +794,12 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
<sequential>
<var name="FILE_BASENAME" value="@{FILENAME}" />
<var name="FILE_PATH" value="@{FILEPATH}" />
+ <if>
+ <available type="file" file="${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
+ <then>
+ <var name="SLINK_FLAGS" value="${SLINK_FLAGS} ${DEST_DIR_OUTPUT}/AutoGen.h.obj"/>
+ </then>
+ </if>
<OnDependency>
<sourcefiles>
<file list="${LIBS}"/>