summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.netbsd
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.netbsd
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.netbsd')
-rw-r--r--src/makefiles/Makefile.netbsd1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/makefiles/Makefile.netbsd b/src/makefiles/Makefile.netbsd
index 79684ecfc1..425267b81b 100644
--- a/src/makefiles/Makefile.netbsd
+++ b/src/makefiles/Makefile.netbsd
@@ -2,6 +2,7 @@ AROPT = cq
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
+rpath = -Wl,-R$(libdir)
endif
DLSUFFIX = .so