diff options
author | rie <none@none> | 2008-01-24 16:39:56 -0800 |
---|---|---|
committer | rie <none@none> | 2008-01-24 16:39:56 -0800 |
commit | f6acbf7c6543dc0aab58cae1df419f0147c46d77 (patch) | |
tree | c47eb83752097c5a99a6eda6c4923edec8272c4b /usr/src/lib/libproc | |
parent | 11022c7cf39f3b863e749f3866f6ddcb445c2d05 (diff) | |
download | illumos-joyent-f6acbf7c6543dc0aab58cae1df419f0147c46d77.tar.gz |
4947191 OSNet should use direct bindings
Diffstat (limited to 'usr/src/lib/libproc')
-rw-r--r-- | usr/src/lib/libproc/Makefile.com | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr/src/lib/libproc/Makefile.com b/usr/src/lib/libproc/Makefile.com index f6f48e0531..74ccc23c36 100644 --- a/usr/src/lib/libproc/Makefile.com +++ b/usr/src/lib/libproc/Makefile.com @@ -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" @@ -94,9 +94,12 @@ MAPFILES += mapfile-vers CFLAGS += $(CCVERBOSE) CPPFLAGS += -I$(SRCDIR) -# All interfaces are interposable, therefore don't allow direct binding to this -# shared object. -DYNFLAGS += $(BNODIRECT) +# All interfaces are interposable, therefore don't allow direct binding to +# libproc. Disable libproc from directly binding to itself, but allow libperl +# to directly bind to its dependencies (ie. map -Bdirect -> -zdirect). Ensure +# lazy loading is established (which is enabled automatically with -Bdirect). +BDIRECT = +DYNFLAGS += $(BNODIRECT) $(ZDIRECT) $(ZLAZYLOAD) .KEEP_STATE: |