[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: link dependency failed with make -j*
From: |
Ralf Wildenhues |
Subject: |
Re: link dependency failed with make -j* |
Date: |
Mon, 28 Mar 2011 10:11:42 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
Hello Vincent,
* Vincent Torri wrote on Mon, Mar 28, 2011 at 06:40:51AM CEST:
> On Mon, Mar 28, 2011 at 1:10 AM, Bob Friesenhahn <
> address@hidden> wrote:
> > On Sun, 27 Mar 2011, Vincent Torri wrote:
> >> I have a library that depends on several libraries, these latter ones
> >> must be built first:
> >>
> >> pkg_LTLIBRARIES = pdf.la
> >>
> >> noinst_LTLIBRARIES = libfitz.la libdraw.la libcmaps.la libfonts.la
> >> libmupdf.la
> >>
> >> Does someone know what i should do to enable parallel compilation ?
> >
> > Maybe you should make pdf.la dependent on ibfitz.la libdraw.la ...?
> you mean:
>
> pdf_la_DEPENDENCIES = libfitz.la libdraw.la ... ?
>
> I thought that adding libfitz.la libdraw.la to pdf_la_LIBADD was sufficient
It is sufficient, but you may not spell the dependency as
pdf_la_LIBADD = $(top_builddir)/.../foo.la ...
but should spell it as
pdf_la_LIBADD = foo.la ...
because 'make' does not flatten or normalize names when comparing
targets or dependencies.
Cheers,
Ralf