From: Thomas G. Lockhart Date: Tue, 1 Jul 1997 00:29:40 +0000 (+0000) Subject: Add flags to allow dynamic loader to find Postgres sharable libraries without X-Git-Tag: REL6_1_1~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bdf9ba35ba2876bf5a61d53989966660a3075ee;p=thirdparty%2Fpostgresql.git Add flags to allow dynamic loader to find Postgres sharable libraries without having to modify the system-wide library database. --- diff --git a/src/makefiles/Makefile.linux b/src/makefiles/Makefile.linux index 21df0c8a23a..528423701c0 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