summarylogtreecommitdiffstats
path: root/postgresql-perl-rpath.patch
blob: 1eff65da4dd5b2ba59e0419efb1fd8bf96e2496a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 \