[Top][All Lists]

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

libtool libraries, dependencies and parallel builds

From: Vincent Torri
Subject: libtool libraries, dependencies and parallel builds
Date: Thu, 1 Nov 2012 17:18:20 +0100


I want to build to libraries names eina and eo within a single They are in the following tree structure:


eo depends on eina. The file is (i've stripped the unneeded parts)

AUTOMAKE_OPTIONS = subdir-objects

lib_LTLIBRARIES = lib/eina/ lib/eo/

lib_eo_libeo_la_LIBADD = $(top_builddir)/src/lib/eina/

when I compile with 'make', no problem. With a parallel build (make
-j3 for example), I get that error:

  CC     lib/eo/lib_eo_libeo_la-eo_base_class.lo
make[3]: *** No rule to make target `../src/lib/eina/',
needed by `lib/eo/'.  Stop.
make[3]: *** Waiting for unfinished jobs....

I thought that adding in the LIBADD primary was sufficient
to deal with dependencies, but it seems that it is not.

What should I add to correctly manage dependencies with parallel
builds in my case ?

thank you

Vincent Torri

reply via email to

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