Hello folks,
The Automake manual says:
For libraries whose destination directory is known when Automake
runs, Automake will automatically supply the appropriate `-rpath'
option to libtool. This is the case for libraries listed explicitly in
some installable `_LTLIBRARIES' variables such as `lib_LTLIBRARIES'.
When building Debian packages, this is incorrect behavior. An rpath of
/usr/lib should not be encoded in binaries or libraries since it
interferes with the normal system library search path and can therefore
cause problems with mixed 32-bit and 64-bit library environments and other
complex installations.
Is there any way to selectively disable this feature when building
libraries for a Debian package? Some configure option, perhaps? I
suppose that one can edit the Makefiles after running configure to remove
-rpath $(libdir), but that's an ugly hack.
--
Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/>