From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] mk: fix pcap build with empty LIBPCAP_CFLAGS Date: Tue, 10 Dec 2013 10:40:41 +0100 Message-ID: <201312101040.41120.thomas.monjalon@6wind.com> References: Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Robert Sanford Return-path: In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 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