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

2013-12-10 Thread Thomas Monjalon
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 /

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

2013-12-06 Thread 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 th