[dpdk-dev] [PATCH v2] mk: fix build ignoring other installed versions

2014-05-01 Thread Thomas Monjalon
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 > > d

[dpdk-dev] [PATCH v2] mk: fix build ignoring other installed versions

2014-05-01 Thread 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

[dpdk-dev] [PATCH v2] mk: fix build ignoring other installed versions

2014-04-30 Thread Thomas Monjalon
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. Sign