package/libpwquality: support python bindings with python3
The python bindings support python3 as well, so enable it if python3 is enabled. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
7162d69194
commit
92a1b71204
@ -12,9 +12,9 @@ LIBPWQUALITY_INSTALL_STAGING = YES
|
||||
LIBPWQUALITY_DEPENDENCIES = cracklib
|
||||
LIBPWQUALITY_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON),y)
|
||||
ifeq ($(BR2_PACKAGE_PYTHON)$(BR2_PACKAGE_PYTHON3),y)
|
||||
LIBPWQUALITY_CONF_OPTS += --enable-python-bindings
|
||||
LIBPWQUALITY_DEPENDENCIES += python
|
||||
LIBPWQUALITY_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),python3,python)
|
||||
LIBPWQUALITY_MAKE_ENV += $(PKG_PYTHON_DISTUTILS_ENV)
|
||||
else
|
||||
LIBPWQUALITY_CONF_OPTS += --disable-python-bindings
|
||||
|
Loading…
Reference in New Issue
Block a user