summaryrefslogtreecommitdiffstats
path: root/recipes-core/openjdk/openjdk-8-cross.inc
diff options
context:
space:
mode:
authorAndré Draszik <andre.draszik@jci.com>2018-03-05 09:31:00 +0000
committerMaxin B. John <maxin.john@intel.com>2018-03-06 10:57:12 +0200
commit7e48b81929fec1b8b79686b9dc50ba47eccd5620 (patch)
tree15fdc2e8ed54b7d8cd29150826e04f6c09178008 /recipes-core/openjdk/openjdk-8-cross.inc
parentad72b21676a99417605c5b7e6d068ad81142f7b2 (diff)
downloadmeta-java-7e48b81929fec1b8b79686b9dc50ba47eccd5620.tar.gz
openjdk-8: add patches to support building against system libpng & libjpeg
This didn't actually before. Patches taken from Debian / OpenJDK-9. Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Maxin B. John <maxin.john@intel.com>
Diffstat (limited to 'recipes-core/openjdk/openjdk-8-cross.inc')
-rw-r--r--recipes-core/openjdk/openjdk-8-cross.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-core/openjdk/openjdk-8-cross.inc b/recipes-core/openjdk/openjdk-8-cross.inc
index 3973fcf..40db2eb 100644
--- a/recipes-core/openjdk/openjdk-8-cross.inc
+++ b/recipes-core/openjdk/openjdk-8-cross.inc
@@ -3,7 +3,7 @@ JRE_HOME = "${libdir_jvm}/openjre-8"
3 3
4DEPENDS = "\ 4DEPENDS = "\
5 openjdk-8-native zip-native ant-native libxslt \ 5 openjdk-8-native zip-native ant-native libxslt \
6 jpeg libpng krb5 libffi fontconfig freetype \ 6 krb5 libffi fontconfig freetype \
7" 7"
8 8
9PRIVATE_LIBS = "\ 9PRIVATE_LIBS = "\
@@ -19,6 +19,7 @@ PACKAGECONFIG ??= " \
19 repack \ 19 repack \
20 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 cups', '', d)} \ 20 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 cups', '', d)} \
21 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \ 21 ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
22 jpeg png \
22" 23"
23PACKAGECONFIG[x11] = "--with-x,,libx11 xproto libxt libxext libxrender libxtst" 24PACKAGECONFIG[x11] = "--with-x,,libx11 xproto libxt libxext libxrender libxtst"
24PACKAGECONFIG[cups] = "--with-cups,,cups" 25PACKAGECONFIG[cups] = "--with-cups,,cups"
@@ -28,6 +29,8 @@ PACKAGECONFIG[jce] = "--enable-unlimited-crypto,,"
28 29
29PACKAGECONFIG[zip] = "--with-zlib=system,--with-zlib=bundled,zlib," 30PACKAGECONFIG[zip] = "--with-zlib=system,--with-zlib=bundled,zlib,"
30PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib," 31PACKAGECONFIG[gif] = "--with-giflib=system,--with-giflib=bundled,giflib,"
32PACKAGECONFIG[jpeg] = "--with-libjpeg=system,--with-libjpeg=bundled,jpeg,"
33PACKAGECONFIG[png] = "--with-libpng=system,--with-libpng=bundled,libpng,"
31 34
32export WANT_LLVM_RELEASE = "3.5.2" 35export WANT_LLVM_RELEASE = "3.5.2"
33PACKAGECONFIG[zero] = "--with-jvm-variants=zero,,," 36PACKAGECONFIG[zero] = "--with-jvm-variants=zero,,,"