[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in 'iconvme' module

From: Bruno Haible
Subject: bug in 'iconvme' module
Date: Tue, 10 Jan 2006 14:24:05 +0100
User-agent: KMail/1.5.4


On MacOS X with GNU libiconv module, the iconvme module exhibits a build

Making all in lib
make  all-am
gcc -DHAVE_CONFIG_H -I. -I../../../megatestdir/iconvme/lib -I..     -g -O2 -c 
../../../megatestdir/iconvme/lib/iconvme.c: In function `iconv_alloc':
../../../megatestdir/iconvme/lib/iconvme.c:134: warning: passing arg 2 of 
`libiconv' from incompatible pointer type
rm -f libgnu.a
ar cru libgnu.a iconvme.o -liconv
ar: -liconv: No such file or directory
make[4]: *** [libgnu.a] Error 1
make[4]: Target `all-am' not remade because of errors.
make[3]: *** [all] Error 2

IMO you need to add $(LTLIBICONV) to lib_LDFLAGS, not lib_LIBADD.
And also, use $(LIBICONV) instead of $(LTLIBICONV) when libtool is not used.
That's why you introduced GL_COND_LIBTOOL conditional, no?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]