blob: f27619cd4ecab9bde86035d5bfe9737af08ae7dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ax,v 1.2 2006/11/22 12:48:30 ghen Exp $
--- security/coreconf/SunOS5.mk.orig 2006-02-03 23:26:36.000000000 +0100
+++ security/coreconf/SunOS5.mk
@@ -176,6 +176,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
|