[asterisk-dev] [Code Review] Sets -rpath linker option when appropriate
David Lee
reviewboard at asterisk.org
Wed Sep 26 13:28:13 CDT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2132/
-----------------------------------------------------------
Review request for Asterisk Developers.
Summary
-------
Sets -rpath linker option when appropriate.
* 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.
* For OS X, we have macosx_version_min set to 10.4, which doesn't
support rpath. So instead, the patch adds the -dynamiclib and
-install_name flags for linking libasteriskssl.dylib, along with
cleaning up some of the other OS X specific linker flags.
This addresses bug ASTERSIK-20407.
https://issues.asterisk.org/jira/browse/ASTERSIK-20407
Diffs
-----
/branches/11/Makefile 373734
/branches/11/configure UNKNOWN
/branches/11/configure.ac 373734
/branches/11/main/Makefile 373734
/branches/11/makeopts.in 373734
Diff: https://reviewboard.asterisk.org/r/2132/diff
Testing
-------
Built on OS X and Ubuntu Precise, --prefix=/opt/Asterisk, both with and without --disable-rpath.
Thanks,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120926/7fc60f90/attachment.htm>
More information about the asterisk-dev
mailing list