JBoss Native SVN: r2119 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-12-10 17:33:38 -0500 (Wed, 10 Dec 2008)
New Revision: 2119
Modified:
trunk/build/unix/buildsrc.mod_cluster.sh
Log:
Oops windows needs zlib.
Modified: trunk/build/unix/buildsrc.mod_cluster.sh
===================================================================
--- trunk/build/unix/buildsrc.mod_cluster.sh 2008-12-10 21:50:07 UTC (rev 2118)
+++ trunk/build/unix/buildsrc.mod_cluster.sh 2008-12-10 22:33:38 UTC (rev 2119)
@@ -53,6 +53,14 @@
dirsources=`ls ${native_dist}/srclib/ | grep httpd-`
dirsources=${native_dist}/srclib/${dirsources}
+# On windows add zlib
+if [ "${BUILD_SYS}" = "windows" ]; then
+ rm -rf ${dirsources}/srclib/zlib
+ zlibdirsources=`ls ${native_dist}/srclib/ | grep zlib-`
+ echo "Replacing ${dirsources}/srclib/zlib by ${native_dist}/srclib/${zlibdirsources}"
+ cp -rp ${native_dist}/srclib/${zlibdirsources} ${dirsources}/srclib/zlib
+fi
+
# Add mod_jk sources.
if $has_jk; then
${build_top}/util/override.sh ${build_top}/buildsrc.asf-jk.sh ${jk_version} ${package_src_dir} ${dirsources}