From 566afbd071c91744e8f894704363ada46e199d9a Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Sun, 26 Sep 2021 15:28:56 -0600 Subject: [PATCH] FreeBSD: use the LIBICONV_PLUG define to prevent link errors This define should be used so that the libc implementation can work (as opposed to using the libiconv library) --- cde/configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cde/configure.ac b/cde/configure.ac index 2ae18279e..423dea32a 100644 --- a/cde/configure.ac +++ b/cde/configure.ac @@ -85,6 +85,9 @@ case "${host_os}" in bsd=yes OSMAJORVERSION=10 OSMINORVERSION=0 + # fbsd needs the iconv plug to avoid conflict with libiconv + # and libc implementations. We prefer the libc impl. + SOURCE_CPP_DEFINES="${SOURCE_CPP_DEFINES} -DLIBICONV_PLUG" ;; openbsd*) build_openbsd=yes