aboutsummaryrefslogtreecommitdiffstats
path: root/java/openjdk25/files/patch-make_autoconf_libraries.m4
blob: 9c86f7093ac7a90b2239410b3d25631c80152b89 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- make/autoconf/libraries.m4.orig	2025-10-24 12:39:13 UTC
+++ make/autoconf/libraries.m4
@@ -212,9 +212,9 @@ AC_DEFUN_ONCE([LIB_SETUP_MISC_LIBS],
       ICONV_LDFLAGS="-L/usr/local/lib"
       ICONV_LIBS=-liconv
     elif test "x$OPENJDK_TARGET_OS_ENV" = "xbsd.freebsd"; then
-      ICONV_CFLAGS=-DLIBICONV_PLUG
-      ICONV_LDFLAGS=
-      ICONV_LIBS=
+      ICONV_CFLAGS=%%ICONV_CFLAGS%%
+      ICONV_LDFLAGS=%%ICONV_LDFLAGS%%
+      ICONV_LIBS=%%ICONV_LIBS%%
     else
       ICONV_CFLAGS=
       ICONV_LDFLAGS=