Bernd Kuhls 2014-08-09 17:54:42 +02:00 committed by Peter Korsgaard
parent 3d13ab8ecc
commit f68d9bcac4
1 changed files with 7 additions and 1 deletions

View File

@ -10,7 +10,13 @@ NGREP_SITE = http://downloads.sourceforge.net/project/ngrep/ngrep/$(NGREP_VERSIO
NGREP_LICENSE = BSD-4c-like
NGREP_LICENSE_FILES = LICENSE.txt
NGREP_INSTALL_STAGING = YES
NGREP_CONF_ENV = LIBS="-lpcre"
NGREP_LIBS = -lpcap -lpcre
ifeq ($(BR2_PREFER_STATIC_LIB),y)
NGREP_LIBS += $(shell $(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs)
endif
NGREP_CONF_ENV += LIBS+="$(NGREP_LIBS)"
NGREP_CONF_OPT = \
--with-pcap-includes=$(STAGING_DIR)/usr/include \
--enable-pcre \