mk: fix external library link
authorThomas Monjalon <thomas.monjalon@6wind.com>
Sat, 25 Jun 2016 11:07:32 +0000 (13:07 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 29 Jun 2016 11:33:01 +0000 (13:33 +0200)
commita1e322f1f5eb155fd1c3907194054d0123830eed
tree83e2bb222ff7f9e3c80769819699f1c3522dadc3
parent7528ad358a4cb30d5fe1f6d5e638abb726bca280
mk: fix external library link

When building an external library with rte.extlib.mk, the internal
libraries were not found because the linker search path was the
external library install directory (RTE_OUTPUT/lib).
It is fixed by searching in the internal library install directory
(RTE_SDK_BIN/lib).
When building an internal library, RTE_SDK_BIN = RTE_OUTPUT.

Fixes: c6417ce61f83 ("mk: add build-time library directory to linker path")

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