python: fix two build depend issues
authorJo-Philipp Wich <[email protected]>
Fri, 23 Oct 2015 12:19:45 +0000 (14:19 +0200)
committerJohn Crispin <[email protected]>
Sat, 24 Oct 2015 07:56:53 +0000 (09:56 +0200)
commit375b9aeee4487a7320cfc4d7e74abd772d0ce8fb
treefdcdc057c2d5294f4b776dd64588b39d0b15416d
parentffd3b199e11ec335ce4f6ddd4a1a3aaff370318d
python: fix two build depend issues

Build depends must refer to the source package name, not the binary one,
therefore we need to use `bzip2` in order to enforce a build of libbz2.so.

Also make the host python build depend on the bzip2 host build in order to
ensure that host python is built with bzip2 support. We don't need a build
dependency for the target python as this already depends on +libbz2 through
python-light. That package dependency in turn implies a build dependency.

Signed-off-by: Jo-Philipp Wich <[email protected]>
lang/python/Makefile