NetBSD/external/mit
dsl 5415722580 Add explicit -lfoo for libraries that are required because of NEEDED
entries in other libraries.
This avoids a bug in 'ld' which causes it to look in the directory
specified by the RPATH entry (in the library with the NEEDED entry)
without adding the directory supplied by --sysroot.
When the RPATH entry in blindly folloed the link is done w.r.t the
systems own libfoo.so which may be missing some symbols.
(Or might have a wrong sized data area that would need copying
into the programs (or other libraries) data space.)
ld also seems to add a NEEDED entry for these libraries directly
into the program binary - this doesn't seem right to me.
Fixes my build where the installed libX11.so is dated from 2009.
CVS :----------------------------------------------------------------------
2011-05-23 17:44:41 +00:00
..
lua libterminfo needs to come after libedit for static linking 2011-01-19 11:55:50 +00:00
xorg Add explicit -lfoo for libraries that are required because of NEEDED 2011-05-23 17:44:41 +00:00
Makefile descend into the lua subdirectory 2010-10-31 11:29:06 +00:00