CVSROOT:        /cvs
Module name:    ports
Changes by:     [email protected]   2018/04/29 03:07:39

Modified files:
        databases/gq   : Makefile 

Log message:
GNU libiconv doesn't actually provide iconv() etc., but libiconv()
and maps the functions with <iconv.h> to the standard names.  This
causes naive link checks to fail.  The recommended upstream iconv.m4
autoconf check that handles all this is rather large, pulls in more
macros, and may be difficult to retrofit into old configure.in
scripts written for obsolete autotools versions.  Instead, it is
simpler to just override the check and assert that we indeed have
iconv().

The failing test causes the final link command line to omit -liconv.
The iconv() function is still referenced from the code, so overriding
the test fixes linking with lld.

Reply via email to