components/libpcap/Makefile
changeset 5272 28045eab1400
parent 5029 77413b29eb5a
child 5682 94c0ca64c022
equal deleted inserted replaced
5271:195e24ffa71a 5272:28045eab1400
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    16 # fields enclosed by brackets "[]" replaced with your own identifying
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
    18 #
    18 #
    19 # CDDL HEADER END
    19 # CDDL HEADER END
    20 #
    20 #
    21 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
    21 # Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved.
    22 #
    22 #
    23 include ../../make-rules/shared-macros.mk
    23 include ../../make-rules/shared-macros.mk
    24 
    24 
    25 COMPONENT_NAME=		libpcap
    25 COMPONENT_NAME=		libpcap
    26 COMPONENT_VERSION=	1.7.4
    26 COMPONENT_VERSION=	1.7.4
    44 #
    44 #
    45 # libpcap Makefile does not use CFLAGS when building shared library
    45 # libpcap Makefile does not use CFLAGS when building shared library
    46 # so we require the following line to add the -m option to CC
    46 # so we require the following line to add the -m option to CC
    47 #
    47 #
    48 CC += $(CC_BITS)
    48 CC += $(CC_BITS)
       
    49 CFLAGS += -D_SYS_REGSET_H
    49 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
    50 CONFIGURE_OPTIONS  +=	CFLAGS="$(CFLAGS) -DHAVE_CONFIG_H"
    50 CONFIGURE_OPTIONS  +=	--disable-dbus
    51 CONFIGURE_OPTIONS  +=	--disable-dbus
    51 
    52 
    52 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    53 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
    53 
    54