libtool
[Top][All Lists]
Advanced

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

Re: Hack for inter-library dependency (make DESTDIR=... install) problem


From: Brian May
Subject: Re: Hack for inter-library dependency (make DESTDIR=... install) problem.
Date: 01 Dec 2001 11:08:57 +1100
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Artificial Intelligence)

>>>>> "Rob" == Rob Browning <address@hidden> writes:

    Rob> For those stuck on this problem (and presuming we're not just
    Rob> using libtool improperly in Guile) I've figured out a
    Rob> temporary hack that will allow you to build and install
    Rob> packages in temporary (i.e. not --prefix) directories when
    Rob> you have inter-library dependencies.

    Rob> I just had to add a spurious -L for the build directory of
    Rob> the depended on library whereever appropriate.  i.e.

    Rob>   libguilereadline_la_LIBADD = ../libguile/libguile.la

    Rob> became

    Rob>   libguilereadline_la_LIBADD = -L`pwd`/../libguile/.libs
    Rob> ../libguile/libguile.la

    Rob> This may add an unwanted -rpath, so if someone has a better
    Rob> suggestion, I'd be happy to hear it.

While this would work, it has the (IMHO) nasty side affect that any
libraries previously installed in, say /usr/lib, will take priority (I
think) over the library that was just built in the source code tree.

It also means hacking around with the Makefiles.
-- 
Brian May <address@hidden>



reply via email to

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