blob: 6fa5f3789c6e53884ccbdba7ab38a3ecdc5b6ead (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ax,v 1.1.1.1 2004/02/29 17:45:02 xtraeme 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
|