From: Fabrice Fontaine Date: Sun, 2 Feb 2020 20:53:06 +0000 (+0100) Subject: package/cracklib: add python3 support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f584595424137399dd06f73c6f04c759e04b879e;p=buildroot.git package/cracklib: add python3 support python bindings supports python3 since version 2.8.19 and https://github.com/cracklib/cracklib/commit/219de98766b9f1e4c8c5b174de770158ffda3a93 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- diff --git a/package/cracklib/cracklib.mk b/package/cracklib/cracklib.mk index 91d510ff34..be1b50f138 100644 --- a/package/cracklib/cracklib.mk +++ b/package/cracklib/cracklib.mk @@ -19,9 +19,9 @@ else CRACKLIB_CONF_OPTS += --without-zlib endif -ifeq ($(BR2_PACKAGE_PYTHON),y) +ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y) CRACKLIB_CONF_OPTS += --with-python -CRACKLIB_DEPENDENCIES += python +CRACKLIB_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON),python,python3) else CRACKLIB_CONF_OPTS += --without-python endif