ptpd2: explicitly point to pcap-config
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Wed, 27 Jan 2016 13:38:21 +0000 (10:38 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 27 Jan 2016 20:38:00 +0000 (21:38 +0100)
Otherwise it will search in the usual places, and if the host has
it it will try to build against that one, resulting in failure. Fixes:
http://autobuild.buildroot.net/results/b39/b399ee830de587e3302f86ac0caadd2607c6c43c/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ptpd2/ptpd2.mk

index c86db7eaf2c90d1e60b0694c8784b214c71b9a07..da6a10684bb9df1311a5aab25d0b0e69b86b2357 100644 (file)
@@ -7,6 +7,7 @@
 PTPD2_VERSION = ptpd-2.3.1
 PTPD2_SITE = $(call github,ptpd,ptpd,$(PTPD2_VERSION))
 PTPD2_DEPENDENCIES = libpcap
+PTPD2_CONF_OPTS = --with-pcap-config=$(STAGING_DIR)/usr/bin/pcap-config
 # configure not shipped
 PTPD2_AUTORECONF = YES
 PTPD2_LICENSE = BSD-2c