Skip to contentSkip to conversation

meta-oe/recipes-connectivity/thrift: disable java

PATCH New Cody P Schafer 1 participant 1 message Sep 30, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 meta-oe/recipes-connectivity/thrift: disable java

Without this, thrift will try to use system java to build it's java bindings, which is both unexpected and may fail depending on the version of system java.

---

Since v1:

- ensure java is disabled in native & nativesdk too by reworking EXTRA_OECMAKE formation to use appends.

 meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-oe/recipes-connectivity/thrift/thrift_0.9.3.bb +3 -3
index fdea7f1..905e561 100644
@@ -25,10 +25,10 @@ export STAGING_LIBDIR
 export BUILD_SYS
 export HOST_SYS
 
-EXTRA_OECMAKE = "-DWITH_QT4=OFF -DWITH_QT5=OFF"
-EXTRA_OECMAKE_class-native = "-DWITH_QT4=OFF -DWITH_QT5=OFF \
+EXTRA_OECMAKE = "-DWITH_QT4=OFF -DWITH_QT5=OFF -DBUILD_JAVA=OFF"
+EXTRA_OECMAKE_append_class-native = "\
              -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_CPP=OFF"
-EXTRA_OECMAKE_class-nativesdk = "-DWITH_QT4=OFF -DWITH_QT5=OFF \
+EXTRA_OECMAKE_append_class-nativesdk = "\
              -DBUILD_TESTING=OFF -DBUILD_EXAMPLES=OFF -DWITH_PYTHON=OFF"
 
 do_install_append () {
Signature · 1 line
2.10.0