[Buildroot] [git commit branch/2022.02.x] package/python3: fix unsafe openssl header path
Peter Korsgaard
peter at korsgaard.com
Fri May 27 12:43:54 UTC 2022
commit: https://git.buildroot.net/buildroot/commit/?id=0c0d2be13c8a7849b3077250f527168cb57152f1
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2022.02.x
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>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout at mind.be>
(cherry picked from commit fbf78c2a738b1a0413c835201064abfa9a3a03f1)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/python3/python3.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/python3/python3.mk b/package/python3/python3.mk
index cffb34e264..6d03e2c6b1 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
More information about the buildroot
mailing list