diff --git a/src/Makefile.global.in b/src/Makefile.global.in index c211a2d2e75..e1e2c0adaf2 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -332,7 +332,9 @@ endif endif PROVE = @PROVE@ -PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ +# There are common routines in src/test/perl, and some test suites have +# extra perl modules in their own directory. +PG_PROVE_FLAGS = -I $(top_srcdir)/src/test/perl/ -I $(srcdir) PROVE_FLAGS = --verbose # prepend to path if already set, else just set it