</if>\r
</target>\r
\r
- <target name="Lib" depends="init" unless="gcc">\r
+ <target name="Lib" depends="init">\r
<cc name="${ToolChain}" \r
objdir="${BUILD_DIR}" \r
outtype="shared" \r
optimize="speed" \r
outfile="${BIN_DIR}/${LibName}"\r
+ outputfileproperty="result"\r
>\r
<fileset dir="${ToolName}" includes="${LibFileSet}" defaultexcludes="TRUE" excludes="*.xml *.inf"/>\r
<includepath path="${env.WORKSPACE}/MdePkg/Include"/>\r
<includepath path="${env.WORKSPACE}/MdePkg/Include/Common"/>\r
<includepath path="${PACKAGE_DIR}/Common"/>\r
<includepath path="${env.JAVA_HOME}/include"/>\r
- <includepath path="${env.JAVA_HOME}/include/win32"/>\r
+ <includepath path="${env.JAVA_HOME}/include/win32" if="windows"/>\r
+ <includepath path="${env.JAVA_HOME}/include/linux" if="linux"/>\r
<libset dir="${LIB_DIR}" libs="CommonTools"/>\r
<syslibset libs="kernel32" unless="gcc"/>\r
</cc>\r
+ <copy file="${result}" tofile="${BIN_DIR}/CompressDll.dll"/>\r
</target>\r
<target name="clean" depends="init">\r
<echo message="Removing Intermediate Files Only"/>\r