summaryrefslogtreecommitdiffstats
path: root/rules/host-system-python.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/host-system-python.make')
-rw-r--r--rules/host-system-python.make6
1 files changed, 6 insertions, 0 deletions
diff --git a/rules/host-system-python.make b/rules/host-system-python.make
index 6edccab81..84be5b2dd 100644
--- a/rules/host-system-python.make
+++ b/rules/host-system-python.make
@@ -34,6 +34,12 @@ ifdef PTXCONF_HOST_SYSTEM_PYTHON_ARGPARSE
ptxd_bailout "Python argparse module not found! \
Please install python-argparse (debian)";
endif
+ifdef PTXCONF_HOST_SYSTEM_PYTHON_BZ2
+ @echo "Checking for Python bz2 ..."
+ @python -c 'import bz2' 2>/dev/null || \
+ ptxd_bailout "Python bz2 module not found! \
+ Please install python-bz2";
+endif
@echo
@$(call touch)