diff options
Diffstat (limited to 't/ltlibsrc.sh')
-rw-r--r-- | t/ltlibsrc.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/t/ltlibsrc.sh b/t/ltlibsrc.sh index f40f5b9ed..8f81cbe78 100644 --- a/t/ltlibsrc.sh +++ b/t/ltlibsrc.sh @@ -33,12 +33,19 @@ AM_LDFLAGS = -module pkglib_LTLIBRARIES = zoo.d/bar.la old.la noinst_LTLIBRARIES = foo.la zoo.d/old2.la -$(srcdir)/zoo_d_old2_la.c: $(srcdir)/old_la.c +zoo_d_old2_la.c: $(srcdir)/old_la.c cp $(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) { |