From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mk: fix build ignoring other installed versions Date: Thu, 01 May 2014 23:10:06 +0200 Message-ID: <2954587.XWUKMuWoW9@xps13> References: <1398772323-31255-1-git-send-email-thomas.monjalon@6wind.com> <1398891420-8839-1-git-send-email-thomas.monjalon@6wind.com> <20140501205030.GH28231@hmsreliant.think-freely.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Neil Horman Return-path: In-Reply-To: <20140501205030.GH28231-B26myB8xz7F8NnZeBjwnZQMhkBWG/bsMQH7oEaQurus@public.gmane.org> 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" 2014-05-01 16:50, Neil Horman: > 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 Applied for version 1.6.0r2 -- Thomas