|
From: <jbo...@li...> - 2006-06-09 09:55:06
|
Author: jfr...@jb...
Date: 2006-06-09 05:55:03 -0400 (Fri, 09 Jun 2006)
New Revision: 4690
Modified:
labs/jbossweb/trunk/src/share/native/build/buildphp.sh
Log:
Add the missing lib64 directories.
Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh
===================================================================
--- labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-06-09 07:12:34 UTC (rev 4689)
+++ labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-06-09 09:55:03 UTC (rev 4690)
@@ -570,6 +570,11 @@
LIBS="-L$TOOLS/ICNV/lib -liconv"
export LIBS
fi
+if ${BUILDLBGD}
+then
+ GD_LIB="$TOOLS/LBGD/lib"
+ export GD_LIB
+fi
if ${BUILDLDAP}
then
EXTRA_LDFLAGS=-L$TOOLS/LDAP/lib
@@ -578,6 +583,22 @@
export EXTRA_LDFLAGS_PROGRAM
fi
+#
+# Add links for some platforms
+case ${PR} in
+ x86_64)
+ for dir in `ls ${TOOLS}`
+ do
+ if [ -d ${TOOLS}/${dir}/lib ]
+ then
+ (cd ${TOOLS}/${dir}
+ ln -fs lib lib64
+ )
+ fi
+ done
+ ;;
+esac
+
# configure php
if ! ${ALLOWCRYPTO}
then
|