[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hack for inter-library dependency (make DESTDIR=... install) problem.
From: |
Rob Browning |
Subject: |
Hack for inter-library dependency (make DESTDIR=... install) problem. |
Date: |
Fri, 30 Nov 2001 12:42:34 -0600 |
User-agent: |
Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 |
For those stuck on this problem (and presuming we're not just using
libtool improperly in Guile) I've figured out a temporary hack that
will allow you to build and install packages in temporary (i.e. not
--prefix) directories when you have inter-library dependencies.
I just had to add a spurious -L for the build directory of the
depended on library whereever appropriate. i.e.
libguilereadline_la_LIBADD = ../libguile/libguile.la
became
libguilereadline_la_LIBADD = -L`pwd`/../libguile/.libs ../libguile/libguile.la
This may add an unwanted -rpath, so if someone has a better
suggestion, I'd be happy to hear it.
Hope this helps.
--
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C 64AE 78FE E5FE F0CB A0AD
- Hack for inter-library dependency (make DESTDIR=... install) problem.,
Rob Browning <=