From a005c5b58ffc92f85c81c50512dfbf20c656c32c Mon Sep 17 00:00:00 2001 From: Mario Domenech Goulart Date: Tue, 31 Mar 2015 10:22:37 -0300 Subject: openjdk-7: add /usr/lib/jni to DEFAULT_LIBPATH Some recipes install JNI-based bindings into /usr/lib/jni (e.g., rxtx), so it's sensible to add this directory to DEFAULT_LIBPATH (java.library.path). That's also how Debian does. Signed-off-by: Mario Domenech Goulart Signed-off-by: Otavio Salvador --- recipes-core/openjdk/openjdk-7-release-25b30.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'recipes-core/openjdk/openjdk-7-release-25b30.inc') diff --git a/recipes-core/openjdk/openjdk-7-release-25b30.inc b/recipes-core/openjdk/openjdk-7-release-25b30.inc index 3b7d84e..9888ce3 100644 --- a/recipes-core/openjdk/openjdk-7-release-25b30.inc +++ b/recipes-core/openjdk/openjdk-7-release-25b30.inc @@ -81,6 +81,7 @@ ICEDTEAPATCHES = "\ file://icedtea-jdk-nio-use-host-cc.patch;apply=no \ file://icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch;apply=no \ file://icedtea-openjdk-remove-currency-data-generation-expi.patch;apply=no \ + file://icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch;apply=no \ " ICEDTEAPATCHES_append_powerpc = " \ file://icedtea-jdk-ppc64-jvm-cfg.patch;apply=no \ @@ -112,6 +113,7 @@ DISTRIBUTION_PATCHES = "\ patches/icedtea-jdk-nio-use-host-cc.patch \ patches/icedtea-unset-NIO_PLATFORM_CLASSES_ROOT_DIR.patch \ patches/icedtea-openjdk-remove-currency-data-generation-expi.patch \ + patches/icedtea-add-usr-lib-jni-to-DEFAULT_LIBPATH.patch \ " DISTRIBUTION_PATCHES_append_libc-uclibc = "\ -- cgit v1.2.3-54-g00ecf