Randy Kobes <[EMAIL PROTECTED]> writes: [...]
> I'm not totally clear on how this works, and I can't test > this on my linux machine right now as the mp2 stuff is on a > live server. But, if you link against the mod_perl lib when > compiling apreq2, but then use APR.so (which supplies > modperl_hash_tie, modperl_hash_tied_object, and > modperl_perl_sv_setref_uv, through > src/modules/perl/modperl_common_util.c), will > apreq2 be able to use those symbols from APR.so, > and not demand mod_perl.so be available at run time? Not sure what happens when you mix run-time and compile-time linking- I suspect the behavior will be non-portable even across ELF systems. > On Win32 (and perhaps some others, like AIX), one could > do this by making available the static aprext lib which > supplies these symbols. For this one should have mp2 install > it under, eg, $APACHE2/lib/ - it might be an idea to > change the name to something like modperl_aprext.lib. Even simpler would be to just move the definitions into a separate header file, like say modperl_xs_inline.h. -- Joe Schaefer --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
