From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 41E6658EB for ; Thu, 1 May 2014 22:50:32 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1Wfxw7-0000LY-HX; Thu, 01 May 2014 16:50:35 -0400 Date: Thu, 1 May 2014 16:50:30 -0400 From: Neil Horman To: Thomas Monjalon Message-ID: <20140501205030.GH28231@hmsreliant.think-freely.org> References: <1398772323-31255-1-git-send-email-thomas.monjalon@6wind.com> <1398891420-8839-1-git-send-email-thomas.monjalon@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1398891420-8839-1-git-send-email-thomas.monjalon@6wind.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v2] mk: fix build ignoring other installed versions X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2014 20:50:33 -0000 On Wed, Apr 30, 2014 at 10:57:00PM +0200, Thomas Monjalon wrote: > If some DPDK libraries are installed on the system, the linker was trying > to use them before searching in -L path. > The obscure reason is that we were prefixing -L with -Wl, to pass it > directly to the linker. > But -L is also a gcc option. And allowing gcc to process this option fixes > the issue. > > Signed-off-by: Thomas Monjalon Acked-by: Neil Horman