$NetBSD: patch-ax,v 1.1 2004/02/04 11:09:13 grant Exp $ --- security/coreconf/SunOS5.mk.orig 2003-03-21 15:45:37.000000000 +1100 +++ security/coreconf/SunOS5.mk @@ -165,6 +165,10 @@ endif 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