blob: 6e865f5e4b3d5a7a6a72889e8fd2c71382890e65 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ax,v 1.5 2007/02/25 00:43:23 ghen Exp $
--- ./security/coreconf/SunOS5.mk.orig 2006-04-25 03:32:16.000000000 +0200
+++ ./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
|