Author: jfrederic.clere(a)jboss.com
Date: 2007-12-12 04:26:06 -0500 (Wed, 12 Dec 2007)
New Revision: 1184
Modified:
trunk/build/unix/build.sh
Log:
Add a build_api so that the decision of building apr-iconv depends on the platfrom
dectection.
Modified: trunk/build/unix/build.sh
===================================================================
--- trunk/build/unix/build.sh 2007-12-12 08:46:35 UTC (rev 1183)
+++ trunk/build/unix/build.sh 2007-12-12 09:26:06 UTC (rev 1184)
@@ -46,6 +46,7 @@
has_apr=true
has_apu=true
has_api=true
+build_api=false
has_cache=false
has_version=false
has_package=false
@@ -216,6 +217,9 @@
so_extension=dll
BUILD_WIN=true
NATIVEEOL="CRLF"
+ if $has_api; then
+ build_api=true
+ fi
;;
CYGWIN*)
so_extension=dll
@@ -604,21 +608,12 @@
echo "Building binaries at `pwd`"
dst_dir=$1
- case ${BUILD_TAG} in
- windows-*)
- $has_api=$has_api
- ;;
- *)
- $has_api=false
- ;;
- esac
-
if $has_apr; then
buildapr srclib/apr-${apr_version} false
if $has_static ; then
buildapr srclib/apr-${apr_version} true
fi
- if $has_api; then
+ if $build_api; then
buildapi srclib/apr-iconv-${api_version} false
if $has_static ; then
buildapi srclib/apr-iconv-${api_version} true
Show replies by date