summaryrefslogtreecommitdiff
path: root/src/makefiles/Makefile.netbsd
diff options
context:
space:
mode:
authorTom Lane2004-11-19 00:41:39 +0000
committerTom Lane2004-11-19 00:41:39 +0000
commita9ddd649df46afde8f26dd9f85f05292e8da1f4b (patch)
treed1dd63d725cd92adc627418d73ea76e31ce93da4 /src/makefiles/Makefile.netbsd
parentb6038484f8c9bb2760c4a5c285b67d4eebeb30b4 (diff)
Modify the platform-specific makefiles so that macro 'rpath' is defined
in terms of macro 'rpathdir', as I proposed a few weeks ago. In itself this commit shouldn't change the behavior at all, but it opens the door to using special rpaths for the PL shared libraries, as seems to be needed for plperl in particular.
Diffstat (limited to 'src/makefiles/Makefile.netbsd')
-rw-r--r--src/makefiles/Makefile.netbsd4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/makefiles/Makefile.netbsd b/src/makefiles/Makefile.netbsd
index 531fc1356b5..2b6a1e13fd2 100644
--- a/src/makefiles/Makefile.netbsd
+++ b/src/makefiles/Makefile.netbsd
@@ -2,10 +2,10 @@ AROPT = cr
ifdef ELF_SYSTEM
export_dynamic = -Wl,-E
-rpath = -Wl,-R$(libdir)
+rpath = -Wl,-R$(rpathdir)
shlib_symbolic = -Wl,-Bsymbolic -lc
else
-rpath = -R$(libdir)
+rpath = -R$(rpathdir)
endif
DLSUFFIX = .so