[dpdk-dev] [PATCH] mk: fix pcap build with empty LIBPCAP_CFLAGS

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Dec 10 10:40:41 CET 2013


06/12/2013 17:48, Robert Sanford :
> Fix pcap build - In rte.sdkbuild.mk with CONFIG_RTE_LIBRTE_PMD_PCAP=y,
> we error-exit if LIBPCAP_CFLAGS is empty. On some distros (e.g., Centos
> 6.4),
> it is normal for "pcap-config --cflags" to output only a newline, because
> pcap
> header files reside in /usr/include/.
> Solution is to remove the line that checks whether LIBPCAP_CFLAGS is empty.

Acked and applied.

-- 
Thomas


More information about the dev mailing list