[Buildroot] [PATCH 1/1] package/python3: fix unsafe openssl header path
James Hilliard
james.hilliard1 at gmail.com
Wed Apr 27 03:55:56 UTC 2022
Explicitely set the openssl path so that python3 doesn't search host
header paths for target openssl headers.
Fixes:
- http://autobuild.buildroot.net/results/c27/c27fe795e079350dd1c9af45be417d41b55e57c3
Signed-off-by: James Hilliard <james.hilliard1 at gmail.com>
---
package/python3/python3.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python3/python3.mk b/package/python3/python3.mk
index 3a334fb28d..7f3b7cc8a5 100644
--- a/package/python3/python3.mk
+++ b/package/python3/python3.mk
@@ -103,6 +103,7 @@ endif
ifeq ($(BR2_PACKAGE_PYTHON3_SSL),y)
PYTHON3_DEPENDENCIES += openssl
+PYTHON3_CONF_OPTS += --with-openssl=$(STAGING_DIR)/usr
else
PYTHON3_CONF_OPTS += --disable-openssl
endif
--
2.25.1
More information about the buildroot
mailing list