python: fix two build depend issues
authorJo-Philipp Wich <[email protected]>
Fri, 23 Oct 2015 12:19:45 +0000 (14:19 +0200)
committerJo-Philipp Wich <[email protected]>
Fri, 23 Oct 2015 12:29:41 +0000 (14:29 +0200)
commit99484ec990e15f48eb337fdddba114712319fe1a
tree5c8b1cd71e7d2d830dfdf01cad1dd19e38668f4e
parentb7684e953b82c883edbfd497e80c7294eb2072c4
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