On Mon, Nov 21, 2011 at 04:40:39PM +0000, Dag-Erling Smorgrav wrote:
> Author: des
> Date: Mon Nov 21 16:40:39 2011
> New Revision: 227798
> URL: http://svn.freebsd.org/changeset/base/227798

> Log:
>   Simplify the libpam build by removing the shared modules' dependency
>   on the shared library.  The modules are loaded by the library, so we
>   know it'll be there when we need it.

Although this will work, I think it trades the quality of the binaries
for a cleaner build system. It is better to pass all libraries to ld(1)
even though a .so may have unresolved references: the NEEDED entry
serves as an additional protection against version mismatches and symbol
versioning (if you ever add it) requires ld(1) to have access to the .so
containing the definition so it knows the version name to store in the
output file.

-- 
Jilles Tjoelker
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to