1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

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)
This commit is contained in:
Jon Trulson 2021-09-26 15:28:56 -06:00
parent 2c6e286d81
commit 566afbd071

View file

@ -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