summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas G. Lockhart1997-07-01 00:29:40 +0000
committerThomas G. Lockhart1997-07-01 00:29:40 +0000
commit7bdf9ba35ba2876bf5a61d53989966660a3075ee (patch)
tree3318569f1451551992956df9e03b7600a9969142 /src
parent495fdfba982c8a7580a70e1504fedce4264ce1d8 (diff)
Add flags to allow dynamic loader to find Postgres sharable libraries without
having to modify the system-wide library database.
Diffstat (limited to 'src')
-rw-r--r--src/makefiles/Makefile.linux2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/makefiles/Makefile.linux b/src/makefiles/Makefile.linux
index 21df0c8a23..528423701c 100644
--- a/src/makefiles/Makefile.linux
+++ b/src/makefiles/Makefile.linux
@@ -1,5 +1,5 @@
ifdef LINUX_ELF
-LDFLAGS+= -rdynamic
+LDFLAGS+= -rdynamic -Wl,-rpath -Wl,$(DESTDIR)$(LIBDIR)
endif
MK_NO_LORDER= true