unbound: Use HOST_SYS instead of TARGET_PREFIX for libtool

As TARGET_PREFIX may vary from source GCC tool-set to external GCC
tool-set. Also, libtool-cross is installed in recipe sysroot using
HOST_SYS variable only.

Signed-off-by: Sumit Garg <sumit.garg@linaro.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Sumit Garg
2020-01-21 14:26:09 +05:30
committed by Khem Raj
parent 6b18f18749
commit 405b67c3ef
@@ -23,7 +23,7 @@ S = "${WORKDIR}/git"
EXTRA_OECONF = "--with-libexpat=${STAGING_EXECPREFIXDIR} \
--with-ssl=${STAGING_EXECPREFIXDIR} \
libtool=${TARGET_PREFIX}libtool \
libtool=${HOST_SYS}-libtool \
"