automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

-rpath and Automake


From: Russ Allbery
Subject: -rpath and Automake
Date: Tue, 29 Nov 2005 14:31:44 -0800
User-agent: Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.17 (linux)

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 (address@hidden)             <http://www.eyrie.org/~eagle/>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]