Skip to contentSkip to conversation

nghttp2: Disable python bindings

PATCH New Khem Raj 1 participant 1 message Jan 29, 2023

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/1 nghttp2: Disable python bindings

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

---
v2: Disable python bindings

 meta/recipes-support/nghttp2/nghttp2_1.51.0.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/nghttp2/nghttp2_1.51.0.bb +1 -1
index fc1a592200..8ddb851f71 100644
@@ -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"
 
Signature · 1 line
2.39.1