blob: a4b4a941f656886bb58fa0ae2132247a7391e0aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
$NetBSD: patch-ax,v 1.1 2004/02/04 11:09:13 grant 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
|