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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user