blob: d42691071b848701a88d675f56614abf40e0b660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ax,v 1.1.1.1 2006/02/05 21:56:26 ghen Exp $
--- security/coreconf/SunOS5.mk.orig 2006-02-02 16:57:57.000000000 +0100
+++ security/coreconf/SunOS5.mk
@@ -182,6 +182,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
|