|
@@ -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
|