[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: link dependency failed with make -j*
From: |
Vincent Torri |
Subject: |
Re: link dependency failed with make -j* |
Date: |
Mon, 28 Mar 2011 23:52:10 +0200 |
On Mon, Mar 28, 2011 at 10:11 AM, Ralf Wildenhues <address@hidden>wrote:
> 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 ...
>
indeed, it works, now. Thank you :)
Vincent Torri