Temporarily disable iconv for non-shared library builds. The dynamic

loading of conversation table is not yet compatible with static builds.

Approved by:	re (gjb)
This commit is contained in:
Xin LI 2013-09-26 17:55:36 +00:00
parent da9442ef43
commit e4dedeefae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=255893

View file

@ -35,7 +35,9 @@ LDADD+= -lmd
.endif
.if ${MK_ICONV} != "no"
CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const
# TODO: This can be changed back to CFLAGS once iconv works correctly
# with statically linked binaries.
SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const
.endif
.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \