package/cracklib: add python3 support
python bindings supports python3 since version 2.8.19 and
219de98766
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
42617caa72
commit
f584595424
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue