summaryrefslogtreecommitdiff
path: root/usr/src/lib/libnisdb
diff options
context:
space:
mode:
authorrie <none@none>2008-01-24 16:39:56 -0800
committerrie <none@none>2008-01-24 16:39:56 -0800
commitf6acbf7c6543dc0aab58cae1df419f0147c46d77 (patch)
treec47eb83752097c5a99a6eda6c4923edec8272c4b /usr/src/lib/libnisdb
parent11022c7cf39f3b863e749f3866f6ddcb445c2d05 (diff)
downloadillumos-gate-f6acbf7c6543dc0aab58cae1df419f0147c46d77.tar.gz
4947191 OSNet should use direct bindings
Diffstat (limited to 'usr/src/lib/libnisdb')
-rw-r--r--usr/src/lib/libnisdb/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/usr/src/lib/libnisdb/Makefile b/usr/src/lib/libnisdb/Makefile
index 82c08530fd..96066c55fd 100644
--- a/usr/src/lib/libnisdb/Makefile
+++ b/usr/src/lib/libnisdb/Makefile
@@ -19,7 +19,7 @@
# CDDL HEADER END
#
#
-# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# ident "%Z%%M% %I% %E% SMI"
@@ -145,9 +145,14 @@ ZDEFS=
LDLIBS += -lnsl -lldap -lc
# A number of interfaces are interposed by numerous applications, therefore
-# prevent direct binding to anything in this shared object. In addition,
-# libnisdb.so.1 interposes on socket().
-DYNFLAGS += $(BNODIRECT) $(ZINTERPOSE)
+# prevent direct binding to anything in libnisdb. Disable libnisdb from
+# directly binding to itself, but allow libnisdb to directly bind to its
+# dependencies (ie. map -Bdirect -> -zdirect). Ensure lazy loading is
+# established (which is enabled automatically with -Bdirect). In addition,
+# libnisdb interposes on socket(), so tag this library as an interposer.
+# dependencies (lazyload).
+BDIRECT =
+DYNFLAGS += $(BNODIRECT) $(ZINTERPOSE) $(ZDIRECT) $(ZLAZYLOAD)
all := TARGET= all
clean := TARGET= clean