use of iconv() in main.c

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

 



> I'm building an embedded linux system using uClibc, which by default
> does not have locale support.  In order to build lm_sensors-2.8.7
> I had to comment out the code that refers to iconv() in set_degstr() 
> (in main.c), as well as the "#include <iconv.h>" line.
> 
> It might save others a bit of trouble if you made the use of locales
> an option...

Is there a way we could detect the use of uClibc? If there is a known #define,
we could use it to automatically disable the use of iconv.

Thanks.

-- 
Jean "Khali" Delvare
http://khali.linux-fr.org/



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux