libtool-patches
[Top][All Lists]
Advanced

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

Parallel make fix in testsuite.


From: Ralf Wildenhues
Subject: Parallel make fix in testsuite.
Date: Sun, 26 Oct 2008 11:07:48 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

with MAKE="make -j3", the new testsuite would cause spurious failure
because libtool isn't created strictly before its use.

This patch fixes it.  Pushed.  I hope that was ok.

Cheers,
Ralf

        * tests/testsuite.at (_LTDL_PROJECT_FILES): Fix dependencies for
        parallel make.

diff --git a/tests/testsuite.at b/tests/testsuite.at
index 5037d14..d5b0fe8 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -330,12 +330,14 @@ TARGETS           = ]_ARG_DIR[/libltdlc.la module.la 
ltdldemo$(EXEEXT)
 
 all: $(TARGETS)
 
-$(LIBTOOL) ]_ARG_DIR[/libltdlc.la: ]_ARG_DIR[/Makefile
+]_ARG_DIR[/libltdlc.la: $(LIBTOOL) ]_ARG_DIR[/Makefile
        MAKE='$(MAKE)'; test -n "$$MAKE" || MAKE=make; \
        cd ]_ARG_DIR[ && $$MAKE CC="$(CC)" LIBTOOLFLAGS="$(LIBTOOLFLAGS)" \
          CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \
           CONFIGURE_OPTIONS="$(CONFIGURE_OPTIONS)"
 
+$(LIBTOOL): ]_ARG_DIR[/Makefile
+
 ]_ARG_DIR[/Makefile:
        cd ]_ARG_DIR[ && CONFIG_SHELL="$(SHELL)" $(SHELL) ./configure 
$(CONFIGURE_OPTIONS)
 




reply via email to

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