Author: jfrederic.clere(a)jboss.com
Date: 2008-01-13 05:32:38 -0500 (Sun, 13 Jan 2008)
New Revision: 1274
Modified:
trunk/build/unix/buildbin.asf-jk.sh
Log:
Work-around jlibtool problems when installing library on itself.
Modified: trunk/build/unix/buildbin.asf-jk.sh
===================================================================
--- trunk/build/unix/buildbin.asf-jk.sh 2008-01-11 17:32:07 UTC (rev 1273)
+++ trunk/build/unix/buildbin.asf-jk.sh 2008-01-13 10:32:38 UTC (rev 1274)
@@ -100,7 +100,11 @@
echo "$native_sources; ./configure --with-apxs=${apxs}.jk"
./configure --with-apxs=${apxs}.jk
make
+
+# Copy the dynamic library (for the moment jlibtool can't copy mod_jk.la on itself).
(cd apache-2.0
- ../scripts/build/instdso.sh SH_LIBTOOL=${LIBTOOL} mod_jk.la `pwd`
- cp mod_jk.${so_extension} ${modules_dir}
+ mkdir -p INSTALL
+ ../scripts/build/instdso.sh SH_LIBTOOL=${LIBTOOL} mod_jk.la `pwd`/INSTALL
+ cp INSTALL/mod_jk.${so_extension} ${modules_dir}
+ rm -rf INSTALL
)
Show replies by date