diff --git a/server/database/postgresql/files/0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch b/server/database/postgresql/files/0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch index 6271d62146..647aae794d 100644 --- a/server/database/postgresql/files/0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch +++ b/server/database/postgresql/files/0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch @@ -8,7 +8,7 @@ Subject: [PATCH] Force RPATH to be used for the PL/Perl plugin 1 file changed, 3 insertions(+) diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile -index 51f8890d15d9..00d05a5e86a8 100644 +index 558c764aadb2..8e85d642653d 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -60,6 +60,9 @@ ifeq ($(PORTNAME), cygwin) @@ -18,6 +18,6 @@ index 51f8890d15d9..00d05a5e86a8 100644 +# Force rpath to be used even though we disable it everywhere else +SHLIB_LINK += $(rpath) + - REGRESS_OPTS = --dbname=$(PL_TESTDB) + REGRESS_OPTS = --dbname=$(PL_TESTDB) --dlpath=$(top_builddir)/src/test/regress REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \ plperl_elog plperl_util plperl_init plperlu plperl_array \