lm-sensors: don't use host ldconfig
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 9 Jul 2014 20:48:56 +0000 (22:48 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Jul 2014 19:19:37 +0000 (21:19 +0200)
commit6c70c45004b87f134af96adf11178a8e1d1c4625
tree163a810b0aa3bea6284b9546efec26867523ca96
parent3ad96773cd83840e75b6e72f4e5d3f25f71b6f8a
lm-sensors: don't use host ldconfig

To know whether the libiconv library is available, lm-sensors is using
the host ldconfig, which is obviously wrong in cross-compilation.

Moreover, the lm-sensors program making use of the iconv_*() API
already does it when __UCLIBC__ is *not* defined. In this case, the
iconv_*() functions are already part of the C library, so there is no
need to link against a separate library. Therefore, this patch simply
removes the libiconv handling.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/lm-sensors/lm-sensors-0002-no-host-ldconfig.patch [new file with mode: 0644]