DT_NEEDED

amodra@one.net.au amodra@one.net.au
Fri May 18 18:59:00 GMT 2001


On Fri, May 18, 2001 at 09:00:27AM -0700, H . J . Lu wrote:
> # gcc -shared -o libfoo.so -L/bar -lbar
> # gcc -shared -o libfoo.so -L../bar -lbar
> # gcc -shared -o libfoo.so ../bar/libbar.so
> Any comments?

I agree with you.  The first two cases should record libbar.so, and the
last one should record ../bar/libbar.so, assuming libbar.so doesn't have
a soname.

-- 
Alan Modra



More information about the Binutils mailing list