for Linux (Suse SLES 9 PPC and i386) to build APR 1.2.2 with static support I used :
./configure --with-pic --prefix=/root/local For tcnative I used : ./configure --with-apr=/root/local/bin/apr-1-config Then I change the Makefile like this : $(TARGET_LIB): $(OBJECTS) $(LINK) -rpath $(libdir) $(OBJECTS) /root/local/lib/libapr-1.a -lrt -lcrypt -lpthread -ldl -lssl -lcrypto Even when build with static support, the APR apr-config (apr-1-config here) didn't provide the /root/local/lib/libapr-1.a ;( 2006/3/16, Peter Rossbach <[EMAIL PROTECTED]>: > I also can't find apr static link command for MAC OS X. At MAC OS X > the tcnative library´suffix must be jnilib instead dylib. How I can > change this? > > peter > > > > Am 16.03.2006 um 15:15 schrieb Henri Gomez: > > > 2006/3/16, Mladen Turk <[EMAIL PROTECTED]>: > >> Henri Gomez wrote: > >>> > >>> We could comment how to build an APR 1.2.2 ready for static > >>> inclusion (easy). > >>> But the configure/makefile of tcnative should be adapted > >>> > >> > >> You have the commit rights, so what's the problem :) > > > > One problems : > > > > - How to get the correct link command from apr-config when APR want to > > be used statically. I've got it for Linux but what about AIX / HPUX / > > Solaris. Send questions on apr-dev but still not response. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]