diff options
author | Andrei Gherzan <andrei.gherzan@huawei.com> | 2022-08-17 13:43:08 +0200 |
---|---|---|
committer | Richard Leitner <richard.leitner@skidata.com> | 2022-08-22 09:35:52 +0200 |
commit | 990ac34d99673b650e66f3fe0ad96810a54ecc2f (patch) | |
tree | 968aa1ec9ec8276a24f5456ebd2039acbafd9065 | |
parent | 8199dfa6f48a36023bacad3b995d9e5d71235ef3 (diff) | |
download | meta-java-990ac34d99673b650e66f3fe0ad96810a54ecc2f.tar.gz |
dbus-java: Include features check from classpath
classpath is an indirect dependency of this package that also has a
required distro feature on x11. Without having the same feature check
here, a world build would fail when x11 is not enabled. Reflecting the
same feature check in this recipe, makes sure that world will skip it as
well.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Richard Leitner <richard.leitner@skidata.com>
-rw-r--r-- | recipes-extended/dbus/dbus-java_2.7.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-extended/dbus/dbus-java_2.7.bb b/recipes-extended/dbus/dbus-java_2.7.bb index ca7652a..0e5ae92 100644 --- a/recipes-extended/dbus/dbus-java_2.7.bb +++ b/recipes-extended/dbus/dbus-java_2.7.bb | |||
@@ -25,6 +25,8 @@ S = "${WORKDIR}/dbus-java-${PV}" | |||
25 | 25 | ||
26 | inherit java-library | 26 | inherit java-library |
27 | 27 | ||
28 | include recipes-core/classpath/classpath-features-check.inc | ||
29 | |||
28 | # jamvm-native unfortunately contains non-generificed java/lang/reflect classes | 30 | # jamvm-native unfortunately contains non-generificed java/lang/reflect classes |
29 | # which are accessed in this package. Work around this by setting the bootclasspath | 31 | # which are accessed in this package. Work around this by setting the bootclasspath |
30 | # explicitly. | 32 | # explicitly. |