mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-04 06:10:16 +03:00
package/python3: add option to build on the host
Some python scripts may be ran in the custom scripts a user can define in the config. Allow the user to enable host-python3 explicitly. If any of those require ssl, they will fail with no possible fix. Add an option to enable openssl as well. This is made optional because openssl significantly increases the build time. Signed-off-by: Nicolas Carrier <nicolas.carrier@orolia.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
committed by
Arnout Vandecappelle (Essensium/Mind)
parent
91d9454644
commit
f1407c4967
@@ -26,8 +26,7 @@ HOST_PYTHON3_CONF_OPTS += \
|
||||
--enable-unicodedata \
|
||||
--disable-test-modules \
|
||||
--disable-idle3 \
|
||||
--disable-ossaudiodev \
|
||||
--disable-openssl
|
||||
--disable-ossaudiodev
|
||||
|
||||
# Make sure that LD_LIBRARY_PATH overrides -rpath.
|
||||
# This is needed because libpython may be installed at the same time that
|
||||
@@ -42,6 +41,12 @@ PYTHON3_DEPENDENCIES = host-python3 libffi
|
||||
|
||||
HOST_PYTHON3_DEPENDENCIES = host-expat host-zlib host-libffi
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HOST_PYTHON3_SSL),y)
|
||||
HOST_PYTHON3_DEPENDENCIES += host-openssl
|
||||
else
|
||||
HOST_PYTHON3_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
PYTHON3_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3_READLINE),y)
|
||||
|
||||
Reference in New Issue
Block a user