$NetBSD: patch-ax,v 1.2 2004/06/24 23:09:56 taya Exp $

diff -ru ../Orig/mozilla/security/coreconf/SunOS5.mk ./security/coreconf/SunOS5.mk
--- ../Orig/mozilla/security/coreconf/SunOS5.mk	2003-05-16 04:12:10.000000000 +0900
+++ ./security/coreconf/SunOS5.mk	2004-06-15 23:56:19.000000000 +0900
@@ -165,6 +165,10 @@
 	DSO_LDOPTS += -G -h $(notdir $@)
 endif
 
+ifdef LIBRUNPATH
+DSO_LDOPTS += -R$(LIBRUNPATH)
+endif
+
 # -KPIC generates position independent code for use in shared libraries.
 # (Similarly for -fPIC in case of gcc.)
 ifdef NS_USE_GCC
