# HG changeset patch # User Norm Jacobs # Date 1390347989 28800 # Node ID b70f4f71f1b5e895d63f8d943f01ee6e44a8191d # Parent 1318926af737593d3fb9dc9f2c75bcecbf3016e6 17075184 tcpdump does not work in non-global-zone diff -r 1318926af737 -r b70f4f71f1b5 components/tcpdump/Makefile --- a/components/tcpdump/Makefile Mon Jan 20 10:08:45 2014 +0100 +++ b/components/tcpdump/Makefile Tue Jan 21 15:46:29 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 @@ -38,6 +38,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