kumquat-buildroot/package/knock/knock.mk
Baruch Siach b64a06d7b7 knock: fix static build
Use pcap-config to determine link dependencies of libpcap.

Fixes:
http://autobuild.buildroot.net/results/1eb/1eb877ebd9469c9261bf114fc7733819ae3fd562/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-22 21:53:35 +02:00

18 lines
497 B
Makefile

################################################################################
#
# knock
#
################################################################################
KNOCK_VERSION = 0.7
KNOCK_SITE = http://www.zeroflux.org/proj/knock/files
KNOCK_LICENSE = GPLv2+
KNOCK_LICENSE_FILES = COPYING
KNOCK_DEPENDENCIES = libpcap
ifeq ($(BR2_PREFER_STATIC_LIB),y)
KNOCK_CONF_OPT = LIBS="$(shell $(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs)"
endif
$(eval $(autotools-package))