summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.linux
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-10-27 23:59:39 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-10-27 23:59:39 +0000
commit6707ede8134a3809409364f3cd3d0c6ca2bbfb7d (patch)
tree66fe6873489f5999d5d0bf2c1fc553b3e1f25ec3 /src/makefiles/Makefile.linux
parent81024e7d80827620ba4d71e3b5440f8cb43d2652 (diff)
downloadpostgresql-6707ede8134a3809409364f3cd3d0c6ca2bbfb7d.tar.gz
Make use of system-specific linker option to embed shared library search
path into executables and shared libraries (-rpath or -R for most). Can be disabled with --disable-rpath, since some binary packaging standards do not like this option.
Diffstat (limited to 'src/makefiles/Makefile.linux')
-rw-r--r--src/makefiles/Makefile.linux1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.linux b/src/makefiles/Makefile.linux
index 268beb05aa..3834552ec3 100644
--- a/src/makefiles/Makefile.linux
+++ b/src/makefiles/Makefile.linux
@@ -1,5 +1,6 @@
AROPT = crs
export_dynamic = -export-dynamic
+rpath = -Wl,-rpath,$(libdir)
DLSUFFIX = .so
CFLAGS_SL = -fpic