summarylogtreecommitdiffstats
path: root/postgresql-perl-rpath.patch
diff options
context:
space:
mode:
authorJake Barnes2021-01-12 14:11:26 +1100
committerJake Barnes2021-01-12 14:44:48 +1100
commite15399fc5af096fa785f5e6c625384bcc6bd8bed (patch)
treee043ded5ded56813264cd6aa0a6e59f2f3841606 /postgresql-perl-rpath.patch
downloadaur-e15399fc5af096fa785f5e6c625384bcc6bd8bed.tar.gz
Initial commit with last official package files
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..7c506c3c8fc5
--- /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) --load-extension=plperl --load-extension=plperlu
+ REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
+ plperl_elog plperl_util plperl_init plperlu plperl_array \