[Buildroot] [git commit] ptpd2: explicitly point to pcap-config

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Jan 27 20:38:00 UTC 2016


commit: https://git.buildroot.net/buildroot/commit/?id=8371990ed3fbfab9d3e40cb637aa34810ba0bfe8
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

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 at zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/ptpd2/ptpd2.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/ptpd2/ptpd2.mk b/package/ptpd2/ptpd2.mk
index c86db7e..da6a106 100644
--- a/package/ptpd2/ptpd2.mk
+++ b/package/ptpd2/ptpd2.mk
@@ -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


More information about the buildroot mailing list