Message ID | 20230320025906.421-1-yue.tao@windriver.com |
---|---|
State | New |
Headers | show |
Series | [meta-python] nghttp2: never build python bindings | expand |
Sorry, please ignore this review. ytao On 3/20/23 10:59, Yue Tao wrote: > From: Joe Slater <joe.slater@windriver.com> > > This has already been done for oe-core/master. > > Signed-off-by: Joe Slater <joe.slater@windriver.com> > Signed-off-by: Steve Sakoman <steve@sakoman.com> > --- > meta/recipes-support/nghttp2/nghttp2_1.47.0.bb | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb > index 58ce08084d..becacd4502 100644 > --- a/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb > +++ b/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb > @@ -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})"
diff --git a/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb b/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb index 58ce08084d..becacd4502 100644 --- a/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb +++ b/meta/recipes-support/nghttp2/nghttp2_1.47.0.bb @@ -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})"