mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
ptpd: disable libpcap detection via pcap-config
When the host system provides pcap-config, the configure scripts detect that and add a bogous CPPFLAG: checking for pcap-config... /usr/bin/pcap-config checking if we want to build with libpcap support... yes, pcap-config ... PCAP_CPPFLAGS = -I/usr/include Which down the line can lead to compile errors due to wrong headers being included. Fix this issue by using --with-pcap-config=no which prevents detection using pcap-config but does "guessing", which works fine for OE. Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
committed by
Armin Kuster
parent
5b6f39ce32
commit
e00844ed8c
@@ -8,7 +8,7 @@ SECTION = "network"
|
|||||||
LICENSE = "BSD"
|
LICENSE = "BSD"
|
||||||
LIC_FILES_CHKSUM = "file://README;md5=2452033fe374283f29579898663b1aa8"
|
LIC_FILES_CHKSUM = "file://README;md5=2452033fe374283f29579898663b1aa8"
|
||||||
|
|
||||||
DEPENDS = "libpcap"
|
DEPENDS = "linux-libc-headers libpcap"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@ S = "${WORKDIR}/ptpd-${PV}"
|
|||||||
|
|
||||||
EXTRA_OEMAKE = ""
|
EXTRA_OEMAKE = ""
|
||||||
|
|
||||||
EXTRA_OECONF += "--disable-snmp"
|
EXTRA_OECONF += "--disable-snmp --with-pcap-config=no"
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
install -d ${D}${bindir} ${D}${mandir}/man8
|
install -d ${D}${bindir} ${D}${mandir}/man8
|
||||||
|
|||||||
Reference in New Issue
Block a user