File 04-fix-parallel-build-issue.diff of Package ultimatestunts
From: Jan Engelhardt <jengelh@inai.de>
Date: 2012-11-25 16:31:12.746298596 +0100
Status: sent to upstream
build: resolve parallel building problem
When running with `make -j4`,
make[2]: *** No rule to make target `../trackedit/libtrackedit.a', needed by `ustuntstrackedit'. Stop.
make[2]: *** Waiting for unfinished jobs....
can happen. "../trackedit/libtrackedit.a" is not a known object,
but "libtrackedit.a" is. Just use that.
---
trackedit/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: ultimatestunts-srcdata-0771/trackedit/Makefile.am
===================================================================
--- ultimatestunts-srcdata-0771.orig/trackedit/Makefile.am
+++ ultimatestunts-srcdata-0771/trackedit/Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = ustuntstrackedit
ustuntstrackedit_SOURCES = main.cpp
-ustuntstrackedit_LDADD = $(top_builddir)/trackedit/libtrackedit.a \
+ustuntstrackedit_LDADD = libtrackedit.a \
$(top_builddir)/graphics/libgraphics.a $(top_builddir)/simulation/libsimulation.a \
$(top_builddir)/shared/libshared.a @sdllibs@ @graphlibs@ @LIBINTL@