[grilo] build: fix parallel build of libs/net



commit ca15c987bb73f0051ff9808f881bd48faa728ab1
Author: Damien Lespiau <damien lespiau intel com>
Date:   Tue Nov 2 17:10:07 2010 +0000

    build: fix parallel build of libs/net
    
    Using $(top_builddir)/libs/net breaks automake's dependency between
    wc-test and libgrlnet. When using recursive builds, Automake
    automatically tracks the dependencies in the same directory but when
    using $(top_builddir)/libs/net/libgrlnet.la it assumes the library is in
    another directoy and is already build (by assuming the other directory is
    before the current one in the parent's SUBDIRS).
    
    By removing the $(top_builddir)/libs/net in wc_test_LDADD Automake now
    understands that the library is in the same directory and it should be
    built before wc-test and adds the dependency which fixes parallel
    builds.
    
    Signed-off-by: Damien Lespiau <damien lespiau intel com>

 libs/net/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libs/net/Makefile.am b/libs/net/Makefile.am
index 8009653..d7542fa 100644
--- a/libs/net/Makefile.am
+++ b/libs/net/Makefile.am
@@ -39,8 +39,8 @@ wc_test_CFLAGS = 	\
 	$(DEPS_CFLAGS)	\
 	-D_GNU_SOURCE
 
-wc_test_LDADD =						\
-	$(top_builddir)/libs/net/libgrlnet- GRL_MAJORMINOR@.la	\
+wc_test_LDADD =				\
+	libgrlnet- GRL_MAJORMINOR@.la	\
 	$(DEPS_LIBS)
 
 MAINTAINERCLEANFILES =	\



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