summarylogtreecommitdiffstats
path: root/postgresql-perl-rpath.patch
blob: 19fd5a26537f83728db3101c60e88924870b856d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- postgresql-16.10.ori/src/pl/plperl/GNUmakefile	2025-08-11 23:06:43.000000000 +0200
+++ postgresql-16.10.new/src/pl/plperl/GNUmakefile	2025-08-22 13:44:02.858364940 +0200
@@ -54,6 +54,8 @@
 
 
 SHLIB_LINK = $(perl_embed_ldflags)
+# Force rpath to be used even though we disable it everywhere else
+SHLIB_LINK += $(rpath)
 
 # see https://www.postgresql.org/message-id/flat/8c4fcb72-2574-ff7c-4c25-1f032d4a2a57%40enterprisedb.com
 ifeq ($(PORTNAME), cygwin)