libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How is relinking with DESTDIR != installdir in newish libtool?


From: Tim Mooney
Subject: Re: How is relinking with DESTDIR != installdir in newish libtool?
Date: Fri, 14 Feb 2003 17:19:29 -0600 (CST)

In regard to: How is relinking with DESTDIR != installdir in newish...:

>With libtool-1.4.2, I was using a patch (see below) that introduced
>DESTDIR that fixed the problems with relinking that happened when
>building RPMS. The problem was that when libraries were temporarily
>installed to /tmp/buildroot/usr/lib the re-linker would look in the
>final destination /usr/lib and fail.
>
>Has this problem been solved in the newer libtool such as 1.4.3 or 1.5?
>  How?  I just looked at ltmain.sh from 1.4.3 and there is no DESTDIR.

1.4.3 solved it in a different way, using a patch based either
partially or fully on work done by Ossama Othman (I think).  It adds an
argument "-inst-prefix-dir" that gets passed to libtool during the relink
that happens during install.  It all happens automatically, so there's
nothing new that a package builder needs to worry about.

1.4.3 has been working relatively well for me, for the majority of
packages I've built with it.  I use BuildRoot installs exclusively.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

[Prev in Thread] Current Thread [Next in Thread]