libxslt/host: depend on libxml2/host
authorSebastian Kemper <sebastian_ml@gmx.net>
Sat, 26 Oct 2019 12:47:52 +0000 (14:47 +0200)
committerRosen Penev <rosenp@gmail.com>
Tue, 28 Jan 2020 17:31:40 +0000 (09:31 -0800)
commit1ec76dd7ca647f76a75c4f88b3b70d154221e7e9
tree4c2c6ec73736d34d3bdba70873179c0c77e1c2fa
parent4689c0998bef2b740414d8dc6b6c61810224b286
libxslt/host: depend on libxml2/host

The host build requires libxml2-dev. This commit adds the dependency for
libxml2/host, as the host system may not have it installed. This also
avoids using the host's xml2-config (in /usr/bin for instance) while
linking to libraries in staging_dir/hostpkg.

ldd staging_dir/hostpkg/bin/xsltproc | grep xml2
libxml2.so.2 => /home/sk/tmp/openwrt/staging_dir/hostpkg/lib/libxml2.so.2 (0x00007fcc0644c000)

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry-picked from 05f0beb6a82c43838196035d15d6757b1e571aa6)
libs/libxslt/Makefile