$NetBSD: patch-ax,v 1.2 2008/10/26 15:31:33 tnn Exp $ --- security/coreconf/SunOS5.mk.orig 2007-11-22 05:39:56.000000000 +0100 +++ security/coreconf/SunOS5.mk @@ -156,6 +156,10 @@ endif endif DSO_LDOPTS += -z combreloc -z defs -z ignore +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