mk: fix extra options when linking lib through compiler
authorThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Nov 2015 13:56:56 +0000 (14:56 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 20 Nov 2015 16:16:49 +0000 (17:16 +0100)
commit4e76dec07d374380b99a413bb2a8e5ab81324695
tree162bafffbfb551b78dcbb9c58669215b9f85dd02
parent3a96022f367a648721903d97e0837103e66cc8e9
mk: fix extra options when linking lib through compiler

When using a linker option not known by the compiler like -rpath,
the library linkage was failing.
It is fixed by prefixing the option with -Wl, as it is done in other
makefiles.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
mk/rte.lib.mk