[asterisk-dev] Feedback requested for rpath patch

Jeffrey Ollie jeff at ocjtech.us
Wed Sep 26 13:59:06 CDT 2012


On Wed, Sep 26, 2012 at 1:30 PM, David M. Lee <dlee at digium.com> wrote:
>
>  * For OS's other than OS X, add the -rpath linker option if libdir is
>    anything other than /lib or /usr/lib. This can be disabled by
>    passing --disable-rpath to ./configure.

Don't forget about the 64-bit equivalents like /lib64 and /usr/lib64

>  * I really don't like the check against /lib and /usr/lib. Is there a
>    better way to check whether the rpath flag should be set?  Should
>    rpath always be set unless --disable-rpath is passed in?

Set rpath if --prefix != '/usr'.

>  * Having the rpath thing differ just because of OS X 10.4 (Tiger)
>    bothers me. That version of OS X hasn't even received a security
>    update since 2009. For trunk, I'd like to bump the min version to
>    10.5 (Leopard) and set rpath consistently across platforms.[4] Any
>    objections?

I'm not a Mac person but I can't see any justification in supporting a
version of an OS that no longer receives security updates.

-- 
Jeff Ollie



More information about the asterisk-dev mailing list