Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 466fb06

Browse files
committed
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.
1 parent a9ddd64 commit 466fb06

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/pl/plperl/GNUmakefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Makefile for PL/Perl
2-
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.17 2004/11/17 21:23:36 tgl Exp $
2+
# $PostgreSQL: pgsql/src/pl/plperl/GNUmakefile,v 1.18 2004/11/19 19:22:58 tgl Exp $
33

44
subdir = src/pl/plperl
55
top_builddir = ../../..
@@ -25,6 +25,8 @@ endif
2525

2626
override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE
2727

28+
rpathdir = $(perl_archlibexp)/CORE
29+
2830

2931
NAME = plperl
3032
SO_MAJOR_VERSION = 0

src/pl/plpython/Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.17 2004/10/11 19:32:19 tgl Exp $
1+
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.18 2004/11/19 19:23:01 tgl Exp $
22

33
subdir = src/pl/plpython
44
top_builddir = ../../..
@@ -33,7 +33,8 @@ endif
3333
ifneq (,$(findstring yes, $(shared_libpython)$(allow_nonpic_in_shlib)))
3434

3535
override CPPFLAGS := -I$(srcdir) $(python_includespec) $(CPPFLAGS)
36-
rpath :=
36+
37+
rpathdir = $(python_libdir)
3738

3839
NAME = plpython
3940
SO_MAJOR_VERSION = 0

0 commit comments

Comments
 (0)