Jim Meyering wrote in <http://lists.gnu.org/archive/html/bug-coreutils/2008-05/msg00158.html>: > Here's a detail I would have missed had I not built > on solaris and noticed the link failure there: > > Users of the propername function must link with $(LIBICONV).
This should increase the awareness of the link requirement: 2008-05-27 Bruno Haible <[EMAIL PROTECTED]> * modules/iconv_open (Link): New section, from module 'iconv'. * modules/striconv (Link): Likewise. * modules/striconveh (Link): Likewise. * modules/xstriconv (Link): Likewise. * modules/unicodeio (Link): Likewise. * modules/propername (Link): Likewise. Reported by Jim Meyering. *** modules/iconv_open.orig 2008-05-27 14:44:58.000000000 +0200 --- modules/iconv_open 2008-05-27 14:42:53.000000000 +0200 *************** *** 61,66 **** --- 61,69 ---- Include: <iconv.h> + Link: + $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: LGPLv2+ *** modules/propername.orig 2008-05-27 14:44:58.000000000 +0200 --- modules/propername 2008-05-27 14:42:54.000000000 +0200 *************** *** 35,40 **** --- 35,43 ---- Include: "propername.h" + Link: + $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: GPL *** modules/striconv.orig 2008-05-27 14:44:59.000000000 +0200 --- modules/striconv 2008-05-27 14:42:54.000000000 +0200 *************** *** 26,31 **** --- 26,34 ---- Include: "striconv.h" + Link: + $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: LGPLv2+ *** modules/striconveh.orig 2008-05-27 14:44:59.000000000 +0200 --- modules/striconveh 2008-05-27 14:42:54.000000000 +0200 *************** *** 33,38 **** --- 33,41 ---- Include: "striconveh.h" + Link: + $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: LGPL *** modules/unicodeio.orig 2008-05-27 14:44:59.000000000 +0200 --- modules/unicodeio 2008-05-27 14:42:54.000000000 +0200 *************** *** 22,27 **** --- 22,30 ---- Include: "unicodeio.h" + Link: + $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: GPL *** modules/xstriconv.orig 2008-05-27 14:44:59.000000000 +0200 --- modules/xstriconv 2008-05-27 14:42:54.000000000 +0200 *************** *** 18,23 **** --- 18,26 ---- Include: "xstriconv.h" + Link: + $(LTLIBICONV) when linking with libtool, $(LIBICONV) otherwise + License: GPL