$NetBSD: patch-ax,v 1.10 2004/06/21 14:14:00 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-10 23:06:47.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