>>>>> "Rob" == Rob Browning <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

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

Reply via email to