Browse Source

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)
Jon Trulson 2 years ago
parent
commit
566afbd071
1 changed files with 3 additions and 0 deletions
  1. 3 0
      cde/configure.ac

+ 3 - 0
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