[Top][All Lists]

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

libtool relink problems with multiple libtool libraries

From: J.T. Conklin
Subject: libtool relink problems with multiple libtool libraries
Date: Thu, 29 Jul 2004 07:50:32 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Security Through Obscurity, berkeley-unix)

I have a that builds multiple libtool libraries, something
like this:

        lib_LTLIBRARIES =
        libFOO_la_CPPFLAGS = ...
        libFOO_la_SOURCES = ...
        libFOO_la_LIBADD =

        lib_LTLIBARIES +=
        libBAR_la_CPPFLAGS = ...
        libBAR_la_SOURCES = ...
        libBAR_la_LIBADD =

        lib_LTLIBAZIES +=
        libBAZ_la_CPPFLAGS = ...
        libBAZ_la_SOURCES = ...

Everything builds fine, but a make install fails with a libtool first
complaining that it has to relink, which fails because the
linker can't find "-lBAR" -- probably because the BAR and BAZ
libraries haven't been installed yet.  

Is there any way to describe this install dependency in automake?  Is
reordering the libraries in the necessary and/or sufficent?



J.T. Conklin

reply via email to

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