mkelfimage-native:make failed if libz not in host
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 7 Dec 2012 05:58:34 +0000 (13:58 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Dec 2012 17:24:50 +0000 (17:24 +0000)
commit66987fb334d65b5a4db70bec62c364b645fbcf92
treec0d8895edc71a19ec61d1346f3ddcaeacfde551e
parent614716643f97b235c9e749d399770b4a4fbd5ddd
mkelfimage-native:make failed if libz not in host

mkelfimage-native finds libz from host dir, not
from the staging directories.

Modify confiugre.ac to let makefile find libz
and zlib.h by CFLAGS and LDFLAGS.

[YOCTO #3547]

(From OE-Core rev: 4d0b2ca464cec9588178100b601eda96faec0ad7)

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/mkelfimage/mkelfimage/fix-makefile-to-find-libz.patch [new file with mode: 0644]
meta/recipes-devtools/mkelfimage/mkelfimage_svn.bb