diff mbox series

[v2] nghttp2: Disable python bindings

Message ID 20230129045741.3763129-1-raj.khem@gmail.com
State Accepted, archived
Commit ce59be9d48fa679ad54b70368d8a76daadbe88ba
Headers show
Series [v2] nghttp2: Disable python bindings | expand

Commit Message

Khem Raj Jan. 29, 2023, 4:57 a.m. UTC
python bindings need cython to build, moreover they have been removed
from future releases upstream nghttp2 [1]

This ensures consistent builds as it does not need cython which was
being used from build host if it is installed. With some distros e.g.
archlinux it caused conflicts with python from python-native

[1] https://github.com/nghttp2/nghttp2/commit/b4cb3b0090b704f2461766c455568b311013272f

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
v2: Disable python bindings

 meta/recipes-support/nghttp2/nghttp2_1.51.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
index fc1a592200..8ddb851f71 100644
--- a/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
+++ b/meta/recipes-support/nghttp2/nghttp2_1.51.0.bb
@@ -15,7 +15,7 @@  PACKAGECONFIG[manpages] = ""
 
 # examples are never installed, and don't need to be built in the
 # first place
-EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF"
+EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF -DENABLE_PYTHON_BINDINGS=OFF"
 
 PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server"