17075184 tcpdump does not work in non-global-zone s11-update
authorNorm Jacobs <Norm.Jacobs@Oracle.COM>
Fri, 17 Jan 2014 12:16:54 -0800
branchs11-update
changeset 2903 bffd78b31bd5
parent 2902 206ef3eafd0a
child 2904 ccc9da092f59
17075184 tcpdump does not work in non-global-zone
components/tcpdump/Makefile
--- a/components/tcpdump/Makefile	Fri Jan 17 09:39:25 2014 -0700
+++ b/components/tcpdump/Makefile	Fri Jan 17 12:16:54 2014 -0800
@@ -18,7 +18,7 @@
 #
 # CDDL HEADER END
 #
-# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2011, 2014, Oracle and/or its affiliates. All rights reserved.
 #
 include ../../make-rules/shared-macros.mk
 
@@ -39,6 +39,10 @@
 # the default setting of 8s makes us core dump
 studio_ALIGN.sparc.32=
 
+# lazyloading (indirectly enabled by -Bdirect) seems to cause problems with
+# libpcap device enumeration.
+LD_B_DIRECT=
+
 CONFIGURE_OPTIONS += CFLAGS="$(CFLAGS)"
 CONFIGURE_OPTIONS += --enable-ipv6=yes
 CONFIGURE_OPTIONS += --with-user=nobody