summarylogtreecommitdiffstats
path: root/postgresql-perl-rpath.patch
diff options
context:
space:
mode:
authorDominic2022-04-23 00:39:22 +0200
committerDominic2022-04-23 00:39:22 +0200
commite932193dcb20e74e69ad5f99ad8e184683a00a1f (patch)
tree3cfa6e46edbd6ad4df5489e5eaf8b17aee0cc384 /postgresql-perl-rpath.patch
downloadaur-e932193dcb20e74e69ad5f99ad8e184683a00a1f.tar.gz
postgresql13 13.6-1
Diffstat (limited to 'postgresql-perl-rpath.patch')
-rw-r--r--postgresql-perl-rpath.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/postgresql-perl-rpath.patch b/postgresql-perl-rpath.patch
new file mode 100644
index 000000000000..1eff65da4dd5
--- /dev/null
+++ b/postgresql-perl-rpath.patch
@@ -0,0 +1,13 @@
+diff -Naur postgresql-9.1.5.orig/src/pl/plperl/GNUmakefile postgresql-9.1.5/src/pl/plperl/GNUmakefile
+--- postgresql-9.1.5.orig/src/pl/plperl/GNUmakefile 2012-08-14 18:41:04.000000000 -0400
++++ postgresql-9.1.5/src/pl/plperl/GNUmakefile 2012-08-17 11:15:09.457116708 -0400
+@@ -55,6 +55,9 @@
+
+ SHLIB_LINK = $(perl_embed_ldflags)
+
++# Force rpath to be used even though we disable it everywhere else
++SHLIB_LINK += $(rpath)
++
+ REGRESS_OPTS = --dbname=$(PL_TESTDB)
+ REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
+ plperl_elog plperl_util plperl_init plperlu plperl_array \