Today, Jon Nall wrote:

>
>why do .la files have to store hard-coded paths of the .so files they
>reference? why aren't the names enough as ld.so should be able to query
>it's cache of library directories at runtime?
>
>i realize libtool runs on lots of OSes, and maybe my question is
>linux-centric. but i really would like to understand what's going on.

The full path allows libtool to add an appropriate -rpath flag to ld when
linking subsequent programs and libraries, this reduces the likelihood of
subsequent installations interfering with the installed programs.

Regards,

Philip Willoughby

Systems Programmer, Department of Computing, Imperial College, London, UK
-- 
echo [EMAIL PROTECTED] | tr "bizndfohces" "pwgd9ociaku"

Why reinvent the wheel? . . . . . . . . . Because we can make it rounder...


_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to