On Mon, Nov 22, 2010 at 01:45:29PM -0500, Wietse Venema wrote:
> That requires dynamic linking as in the DEBIAN port of Postfix.
>
> I have yet to overcome my my aversion against monstrosities such
> as Libtool and Autobloat. Until then, use the source, or use the
> DEBIAN port.
The Tcl project (to which I contributed some code in the 90's) had at
the time dynamic loading support on a large number of platforms with no
libstool or autobloat. Just some sensible indirection in the Makefile
for CC and LD flags for creating shared libraries and a per-platform
switch for which flavour of dl-load API to use.
The sensible thing IMHO (since Postfix does not attempt to support
never-before-seen platforms) is to do what Tcl does (or at least did in
the 7.4/8.0 time-frame).
--
Viktor.