summaryrefslogtreecommitdiffstats
path: root/postgresql-perl-rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'postgresql-perl-rpath.patch')
-rw-r--r--postgresql-perl-rpath.patch10
1 files changed, 5 insertions, 5 deletions
diff --git a/postgresql-perl-rpath.patch b/postgresql-perl-rpath.patch
index 26634b7..28331ee 100644
--- a/postgresql-perl-rpath.patch
+++ b/postgresql-perl-rpath.patch
@@ -7,9 +7,9 @@ So work around it by adding an rpath spec to plperl.so (only).
Per bug #162198.
-diff -Naur postgresql-8.4.0.orig/src/pl/plperl/GNUmakefile postgresql-8.4.0/src/pl/plperl/GNUmakefile
---- postgresql-8.4.0.orig/src/pl/plperl/GNUmakefile 2009-06-05 14:29:56.000000000 -0400
-+++ postgresql-8.4.0/src/pl/plperl/GNUmakefile 2009-08-12 23:28:57.000000000 -0400
+diff -Naur postgresql-8.4.4.orig/src/pl/plperl/GNUmakefile postgresql-8.4.4/src/pl/plperl/GNUmakefile
+--- postgresql-8.4.4.orig/src/pl/plperl/GNUmakefile 2010-05-13 12:40:36.000000000 -0400
++++ postgresql-8.4.4/src/pl/plperl/GNUmakefile 2010-05-14 11:50:27.000000000 -0400
@@ -38,6 +38,9 @@
SHLIB_LINK = $(perl_embed_ldflags)
@@ -17,6 +17,6 @@ diff -Naur postgresql-8.4.0.orig/src/pl/plperl/GNUmakefile postgresql-8.4.0/src/
+# Force rpath to be used even though we disable it everywhere else
+SHLIB_LINK += $(rpath)
+
- REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plperl
+ REGRESS_OPTS = --dbname=$(PL_TESTDB) --load-language=plperl --load-language=plperlu
REGRESS = plperl plperl_trigger plperl_shared plperl_elog
- # where to find psql for running the tests
+ # if Perl can support two interpreters in one backend,