Well, I just want APR as static (not SSL for example)

BTW, with this I got :

/bin/sh /root/local/build-1/libtool --silent --mode=link  gcc -g -O2 -pthread   -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE   -g -O2 -DHAVE_OPENSSL   -I/root/tomcat- native-1.1.2/jni/native/include -I/usr/lib/java/include -I/usr/lib/java/include/  -I/root/local/include/apr-1   -version-info 2:2:2    -o libtcnative-1.la -rpath /usr/local/apr/lib src/os.lo src/info.lo src/poll.lo src/pool.lo src/misc.lo src/error.lo src/shm.lo src/proc.lo src/mmap.lo src/network.lo src/sslcontext.lo src/dir.lo src/user.lo src/sslnetwork.lo src/sslutils.lo src/ssl.lo src/file.lo src/sslinfo.lo src/stdlib.lo src/lock.lo src/jnilib.lo os/unix/uxpipe.lo os/unix/system.lo -all-static /root/local/lib/libapr- 1.la -lrt -lcrypt  -lpthread -ldl -lssl -lcrypto
make[1]: Leaving directory `/root/tomcat-native-1.1.2/jni/native'

==>

alaska:~/tomcat-native-1.1.2/jni/native # ls .libs/
.  ..  libtcnative-1.a  libtcnative-1.la  libtcnative-1.lai

I don't have no more the needed .so for Tomcat / JNI access ;(


2006/3/10, William A. Rowe, Jr. <wrowe@rowe-clan.net>:
libtool -link -all-static?

Henri Gomez wrote:
> apr-config allow us in tomcatnative to get the libtool config for
> linking tomcatnative code with APR.
>
> we use /root/local/bin/apr-config --link-libtool --libs
>
> How could we make use of apr-config to make use libapr.a instead of
> libapr.so when we want to build tomcatnative with APR built in ?
>
> Regards