Author: jfrederic.clere(a)jboss.com
Date: 2007-12-12 04:40:21 -0500 (Wed, 12 Dec 2007)
New Revision: 1185
Modified:
trunk/build/unix/build.sh
Log:
apr-util has a --with-openssl=DIR so we must be build openssl before apr-util.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2007-12-12 09:26:06 UTC (rev 1184)
+++ trunk/build/unix/build.sh 2007-12-12 09:40:21 UTC (rev 1185)
@@ -608,6 +608,15 @@
echo "Building binaries at `pwd`"
dst_dir=$1
+ # apr-util has a --with-openssl=DIR so we must be build openssl before apu.
+ ls srclib | grep openssl >/dev/null
+ if [ $? -eq 0 ]; then
+ buildopenssl srclib/openssl-${ssl_version} false
+ if $has_static ; then
+ buildopenssl srclib/openssl-${ssl_version} false
+ fi
+ fi
+
if $has_apr; then
buildapr srclib/apr-${apr_version} false
if $has_static ; then
@@ -627,13 +636,6 @@
fi
fi
- ls srclib | grep openssl >/dev/null
- if [ $? -eq 0 ]; then
- buildopenssl srclib/openssl-${ssl_version} false
- if $has_static ; then
- buildopenssl srclib/openssl-${ssl_version} false
- fi
- fi
# Do our specific part.
override ${package_src_dir}/buildbin.${PACKAGE}.sh ${build_common_dir}
${package_dist_dir} ${package_output_dir} $has_openssl $has_static