mk: fix build ignoring other installed versions
authorThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 29 Apr 2014 07:57:38 +0000 (09:57 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 1 May 2014 20:57:47 +0000 (22:57 +0200)
commit221fb04df9418e09228655d3ab4c75c3120ff47d
treed6325c02dc8fb4dbd0d01ff2147ae6afd36e902e
parentef4fb79bee3877f056f8c46e7f9cade556b8ad05
mk: fix build ignoring other installed versions

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 <thomas.monjalon@6wind.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
mk/internal/rte.build-pre.mk
mk/rte.app.mk
mk/rte.shared.mk