1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-07 00:36:50 +03:00

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.
This commit is contained in:
Tom Lane
2004-11-19 19:23:01 +00:00
parent a9ddd649df
commit 466fb06739
2 changed files with 6 additions and 3 deletions

View File

@ -1,4 +1,4 @@
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.17 2004/10/11 19:32:19 tgl Exp $
# $PostgreSQL: pgsql/src/pl/plpython/Makefile,v 1.18 2004/11/19 19:23:01 tgl Exp $
subdir = src/pl/plpython
top_builddir = ../../..
@ -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