Skip to contentSkip to conversation

nghttp2: never build python bindings

PATCH In review Yue Tao 1 participant 2 messages Mar 20, 2023

lore
Share & tools
lore

Yue Tao

author
#0 lore raw

PATCH 1/1 nghttp2: never build python bindings

From: Joe Slater <[email protected]>

This has already been done for oe-core/master.

---
 meta/recipes-support/nghttp2/nghttp2_1.47.0.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta/recipes-support/nghttp2/nghttp2_1.47.0.bb +4 -0
index 58ce08084d..becacd4502 100644
@@ -19,6 +19,10 @@ PACKAGECONFIG[manpages] = ""
 # first place
 EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF"
 
+# Do not let configure try to decide this.
+#
+EXTRA_OECMAKE += "-DENABLE_PYTHON_BINDINGS=OFF"
+
 PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server"
 
 RDEPENDS:${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server (>= ${PV})"
Signature · 1 line
2.17.1
author
#1 lore raw

Sorry, please ignore this review.

ytao

Quoted 25 lines · Yue Tao

From: Joe Slater <[email protected]>

This has already been done for oe-core/master.

---
  meta/recipes-support/nghttp2/nghttp2_1.47.0.bb | 4 ++++
  1 file changed, 4 insertions(+)
meta/recipes-support/nghttp2/nghttp2_1.47.0.bb +4 -0
index 58ce08084d..becacd4502 100644
@@ -19,6 +19,10 @@ PACKAGECONFIG[manpages] = ""
  # first place
  EXTRA_OECMAKE = "-DENABLE_EXAMPLES=OFF -DENABLE_APP=OFF -DENABLE_HPACK_TOOLS=OFF"
 
+# Do not let configure try to decide this.
+#
+EXTRA_OECMAKE += "-DENABLE_PYTHON_BINDINGS=OFF"
+
  PACKAGES =+ "lib${BPN} ${PN}-client ${PN}-proxy ${PN}-server"
 
  RDEPENDS:${PN} = "${PN}-client (>= ${PV}) ${PN}-proxy (>= ${PV}) ${PN}-server (>= ${PV})"