Skip to contentSkip to conversation

ptpd2: explicitly point to pcap-config

PATCH New Gustavo Zacarias 2 participants 2 messages Jan 27, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ptpd2: explicitly point to pcap-config

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/

---
 package/ptpd2/ptpd2.mk | 1 +
 1 file changed, 1 insertion(+)
package/ptpd2/ptpd2.mk +1 -0
index c86db7e..da6a106 100644
@@ -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
Signature · 1 line
2.4.10
#1 lore raw

PATCH 1/1 ptpd2: explicitly point to pcap-config

Dear Gustavo Zacarias,

Quoted 8 lines · Gustavo Zacarias

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/

---
 package/ptpd2/ptpd2.mk | 1 +
 1 file changed, 1 insertion(+)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com