]> granicus.if.org Git - postgresql/commitdiff
Add flags to allow dynamic loader to find Postgres sharable libraries without
authorThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 1 Jul 1997 00:29:40 +0000 (00:29 +0000)
committerThomas G. Lockhart <lockhart@fourpalms.org>
Tue, 1 Jul 1997 00:29:40 +0000 (00:29 +0000)
 having to modify the system-wide library database.

src/makefiles/Makefile.linux

index 21df0c8a23a93b343b78db32459aebb1229af1e7..528423701c00ae9da250b9eb7d0a9f9297df5ed6 100644 (file)
@@ -1,5 +1,5 @@
 ifdef LINUX_ELF
-LDFLAGS+= -rdynamic
+LDFLAGS+= -rdynamic -Wl,-rpath -Wl,$(DESTDIR)$(LIBDIR)
 endif
 MK_NO_LORDER= true