java-1_8_0-openjdk/icedtea-3.0.1-sunec.patch

23 lines
1010 B
Diff

--- icedtea-3.0.1/acinclude.m4 2016-04-24 08:37:02.061302798 +0200
+++ icedtea-3.0.1/acinclude.m4 2016-04-25 13:04:21.040872931 +0200
@@ -1959,7 +1959,7 @@
PKG_CHECK_MODULES(NSS_JAVA, nss-java, [NSS_JAVA_FOUND=yes], [NSS_JAVA_FOUND=no])
if test "x${NSS_SOFTOKN_FOUND}" = "xyes"; then
SUNEC_CFLAGS=$NSS_SOFTOKN_CFLAGS;
- SUNEC_LIBS="-lfreebl $NSS_LIBS";
+ SUNEC_LIBS=$NSS_SOFTOKN_LIBS;
elif test "x${NSS_JAVA_FOUND}" = "xyes"; then
SUNEC_CFLAGS="$NSS_JAVA_CFLAGS -DLEGACY_NSS";
SUNEC_LIBS=$NSS_JAVA_LIBS;
--- icedtea-3.0.1/configure 2016-04-24 08:37:14.373081753 +0200
+++ icedtea-3.0.1/configure 2016-04-25 13:05:26.851392635 +0200
@@ -7925,7 +7925,7 @@
fi
if test "x${NSS_SOFTOKN_FOUND}" = "xyes"; then
SUNEC_CFLAGS=$NSS_SOFTOKN_CFLAGS;
- SUNEC_LIBS="-lfreebl $NSS_LIBS";
+ SUNEC_LIBS=$NSS_SOFTOKN_LIBS;
elif test "x${NSS_JAVA_FOUND}" = "xyes"; then
SUNEC_CFLAGS="$NSS_JAVA_CFLAGS -DLEGACY_NSS";
SUNEC_LIBS=$NSS_JAVA_LIBS;