link statically with one library and dynamically with another?

2008-05-04 Thread Jack Bates
How can I link statically with one library and dynamically with another? I am building an Apache module which uses libtidy: http://tidy.sourceforge.net/ Because I frequently want to install this module on Mac OS X, which does not by default ship with a libtidy shared library, I include the

Re: link statically with one library and dynamically with another?

2008-05-04 Thread Bob Friesenhahn
On Sun, 4 May 2008, Jack Bates wrote: How can I link statically with one library and dynamically with another? In an environment you don't personally control, the only way to be absolutely sure is to provide the full path to the static library (e.g. /usr/local/lib/libfoo.a) rather than