0002-Force-RPATH-to-be-used-for-the-PL-Perl-plugin.patch 839 B

123456789101112131415161718192021222324
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
  3. Date: Fri, 15 Sep 2023 00:09:07 +0200
  4. Subject: [PATCH] Force RPATH to be used for the PL/Perl plugin
  5. ---
  6. src/pl/plperl/GNUmakefile | 3 +++
  7. 1 file changed, 3 insertions(+)
  8. diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile
  9. index 51f8890d15d9..00d05a5e86a8 100644
  10. --- a/src/pl/plperl/GNUmakefile
  11. +++ b/src/pl/plperl/GNUmakefile
  12. @@ -60,6 +60,9 @@ ifeq ($(PORTNAME), cygwin)
  13. SHLIB_LINK += -Wl,--export-all-symbols
  14. endif
  15. +# Force rpath to be used even though we disable it everywhere else
  16. +SHLIB_LINK += $(rpath)
  17. +
  18. REGRESS_OPTS = --dbname=$(PL_TESTDB)
  19. REGRESS = plperl_setup plperl plperl_lc plperl_trigger plperl_shared \
  20. plperl_elog plperl_util plperl_init plperlu plperl_array \