|
From: <jbo...@li...> - 2006-06-06 07:09:19
|
Author: jfr...@jb...
Date: 2006-06-06 03:09:12 -0400 (Tue, 06 Jun 2006)
New Revision: 4635
Modified:
labs/jbossweb/trunk/src/share/native/build/buildphp.sh
Log:
Make the copy conditional.
Modified: labs/jbossweb/trunk/src/share/native/build/buildphp.sh
===================================================================
--- labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-06-06 06:01:22 UTC (rev 4634)
+++ labs/jbossweb/trunk/src/share/native/build/buildphp.sh 2006-06-06 07:09:12 UTC (rev 4635)
@@ -733,11 +733,31 @@
#
# At that point everything is build.
# Copy the libraries to php/lib
-cp -p $TOOLS/POSTGRESQL/lib/libpq.so* $TOOLS/PHP/lib
-cp -p $TOOLS/SSL/lib/libcrypto.so* $TOOLS/PHP/lib
-cp -p $TOOLS/SSL/lib/libssl.so* $TOOLS/PHP/lib
-cp -p $TOOLS/LPNG/lib/libpng12.so* $TOOLS/PHP/lib
-cp -p $TOOLS/LIBXML2/lib/libxml2.so* $TOOLS/PHP/lib
+if ${BUILDKRB5}
+then
+ cp -p $TOOLS/KRB5/lib/lib*.so* $TOOLS/PHP/lib
+fi
+if ${BUILDGTTX}
+then
+ cp -p $TOOLS/GTTX/lib/lib*.so* $TOOLS/PHP/lib
+fi
+if ${BUILDPSQL}
+then
+ cp -p $TOOLS/POSTGRESQL/lib/libpq.so* $TOOLS/PHP/lib
+fi
+if ${BUILDOSSL}
+then
+ cp -p $TOOLS/SSL/lib/libcrypto.so* $TOOLS/PHP/lib
+ cp -p $TOOLS/SSL/lib/libssl.so* $TOOLS/PHP/lib
+fi
+if ${BUILDLPNG}
+then
+ cp -p $TOOLS/LPNG/lib/libpng12.so* $TOOLS/PHP/lib
+fi
+if ${BUILDXML2}
+then
+ cp -p $TOOLS/LIBXML2/lib/libxml2.so* $TOOLS/PHP/lib
+fi
#
# Build the war file with the demo
|