mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-30 14:46:31 +00:00
Added support for hashlib in the target Python
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
parent
80e7419680
commit
12097e6e4e
@ -95,6 +95,12 @@ config BR2_PACKAGE_PYTHON_ZLIB
|
|||||||
help
|
help
|
||||||
zlib support in Python
|
zlib support in Python
|
||||||
|
|
||||||
|
config BR2_PACKAGE_PYTHON_HASHLIB
|
||||||
|
bool "hashlib module"
|
||||||
|
select BR2_PACKAGE_OPENSSL
|
||||||
|
help
|
||||||
|
hashlib support in Python
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -108,6 +108,10 @@ else
|
|||||||
PYTHON_CONF_OPT += --disable-zlib
|
PYTHON_CONF_OPT += --disable-zlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq ($(BR2_PACKAGE_PYTHON_HASHLIB),y)
|
||||||
|
PYTHON_DEPENDENCIES += openssl
|
||||||
|
endif
|
||||||
|
|
||||||
PYTHON_CONF_ENV += \
|
PYTHON_CONF_ENV += \
|
||||||
PYTHON_FOR_BUILD=$(HOST_PYTHON_DIR)/python \
|
PYTHON_FOR_BUILD=$(HOST_PYTHON_DIR)/python \
|
||||||
PGEN_FOR_BUILD=$(HOST_PYTHON_DIR)/Parser/pgen \
|
PGEN_FOR_BUILD=$(HOST_PYTHON_DIR)/Parser/pgen \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user