-<?xml version="1.0" encoding="UTF-8"?>\r
+<?xml version="1.0" encoding="UTF-8"?>\r
<!--\r
Copyright (c) 2006, Intel Corporation\r
All rights reserved. This program and the accompanying materials\r
<includepath path="${PACKAGE_DIR}/Include/${HostArch}"/>\r
<includepath path="${PACKAGE_DIR}/Common"/>\r
<includepath path="${env.JAVA_HOME}/include"/>\r
- <includepath path="${env.JAVA_HOME}/include/linux" if="cyglinux"/>\r
+ <includepath path="${env.JAVA_HOME}/include/linux" if="gcc"/>\r
+ <includepath path="${env.JAVA_HOME}/include/win32" if="cygwin"/>\r
<includepath path="${env.JAVA_HOME}/include/win32" if="msft"/>\r
<libset dir="${LIB_DIR}" libs="CommonTools"/>\r
<syslibset libs="kernel32" if="msft"/>\r
+ <linkerarg value="-mno-cygwin" if="cygwin"/>\r
+ <linkerarg value="--add-stdcall-alias" if="cygwin"/>\r
</cc>\r
<copy file="${result}" tofile="${BIN_DIR}/CompressDll.dll"/>\r
<chmod file="${BIN_DIR}/CompressDll.dll" perm="ugo+x"/>\r