From 50d986f5d0ccb3b175b91de10f46100d3adce79f Mon Sep 17 00:00:00 2001 From: Stefano Lattarini Date: Sun, 19 May 2013 00:07:33 +0200 Subject: [PATCH] tests: fix a spurious failure with FreeBSD make Failures due to known VPATH support issues in that make implementation (the same issues that have been causing the long-standing bug#7884). * t/ltlibsrc.sh: Adjust. Signed-off-by: Stefano Lattarini --- t/ltlibsrc.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/ltlibsrc.sh b/t/ltlibsrc.sh index 04a029fe7..c4979684f 100644 --- a/t/ltlibsrc.sh +++ b/t/ltlibsrc.sh @@ -39,6 +39,13 @@ zoo_d_old2_la.c: $(srcdir)/old_la.c AUTOMAKE_OPTIONS = -Wno-unsupported END +if useless_vpath_rebuild; then + unindent >> Makefile.am <<'END' + # Work around a known FreeBSD make issues in VPATH builds. + DISTCLEANFILES = zoo_d_old2_la.c +END +fi + cat > foo.c << 'END' int foo (void) { -- 2.47.2