I am encountering a problem in that with one configuration libltdl not built before the library which depends on it. The dependency is expressed via LIBADD:

magick_libGraphicsMagick_la_LIBADD = $(MAGICK_DEP_LIBS) $(LIBLTDL)

where $(MAGICK_DEP_LIBS) is a list of libraries found by configure (-lfoo) and $(LIBLTDL) is set by ltdl/Makefile.inc and ends up with a value of:

LIBLTDL = ${top_builddir}/ltdl/libltdlc.la

which seems fine to me.

There is an overall lib_LTLIBRARIES specification:

lib_LTLIBRARIES = $(LIBMAGICK) $(LIBMAGICKPP) $(LIBWAND)

but ltdl/Makefile.inc also uses

noinst_LTLIBRARIES     += ltdl/libltdlc.la

So I am at a loss as to why Automake fails to build ltdl/libltdlc.la before attempting to use it.

Ideas?

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


Reply via email to