From 14e05f71a83d44d5c5653a844ab6cc9be4da6ae9 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 19 Nov 2004 19:23:01 +0000 Subject: [PATCH] Set rpath for plperl and plpython to ensure we can find the .so files for the languages even when not installed in a standard directory. pltcl may need this treatment as well, but we don't have the right path conveniently available, so I'll leave it alone as long as there aren't actual reports of trouble. --- src/pl/plperl/GNUmakefile | 2 ++ src/pl/plpython/Makefile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pl/plperl/GNUmakefile b/src/pl/plperl/GNUmakefile index 1095e11a39..548ebb1258 100644 --- a/src/pl/plperl/GNUmakefile +++ b/src/pl/plperl/GNUmakefile @@ -25,6 +25,8 @@ endif override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE +rpathdir = $(perl_archlibexp)/CORE + NAME = plperl SO_MAJOR_VERSION = 0 diff --git a/src/pl/plpython/Makefile b/src/pl/plpython/Makefile index 69835cdaca..58e2016a55 100644 --- a/src/pl/plpython/Makefile +++ b/src/pl/plpython/Makefile @@ -33,7 +33,8 @@ endif ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib))) override CPPFLAGS := -I$(srcdir) $(python_includespec) $(CPPFLAGS) -rpath := + +rpathdir = $(python_libdir) NAME = plpython SO_MAJOR_VERSION = 0 -- 2.39.5