Support building on x64 hosts.
[mirror_edk2.git] / Tools / Source / TianoTools / GenFvImage / build.xml
index 15fbf7c..a320e8f 100644 (file)
@@ -87,6 +87,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
       <os family="mac"/>\r
     </condition>\r
     \r
+    <condition property="syslibdirs" value="/lib64">\r
+      <istrue value="${x86_64_linux}"/>\r
+    </condition>\r
+    \r
     <condition property="syslibdirs" value="${env.CYGWIN_HOME}/lib/e2fsprogs">\r
       <os family="windows"/>\r
     </condition>\r
@@ -123,7 +127,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
       <includepath path="${PACKAGE_DIR}/${ToolName}"/>\r
       <includepath path="${PACKAGE_DIR}/Include"/>\r
-      <includepath path="${PACKAGE_DIR}/Include/Ia32"/>\r
+      <includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>\r
       <includepath path="${PACKAGE_DIR}/Common"/>\r
       <libset dir="${LIB_DIR}" libs="CommonTools"/>\r
 \r