Bernd Kuhls 2014-08-07 20:56:40 +02:00 committed by Peter Korsgaard
parent f68d9bcac4
commit 2ca9b88b37
1 changed files with 6 additions and 0 deletions

View File

@ -10,4 +10,10 @@ IFTOP_DEPENDENCIES = ncurses libpcap
IFTOP_LICENSE = GPLv2+
IFTOP_LICENSE_FILES = COPYING
IFTOP_LIBS = -lpcap
ifeq ($(BR2_PREFER_STATIC_LIB),y)
IFTOP_LIBS += $(shell $(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs)
endif
IFTOP_CONF_ENV += LIBS+="$(IFTOP_LIBS)"
$(eval $(autotools-package))