编译OpenWRT时 #error GNU libiconv not in use but included iconv.h is from libiconv

编译OpenWRT时报错:

gconvert.c:61:2: error: #error GNU libiconv not in use but included iconv.h is from libiconv
 #error GNU libiconv not in use but included iconv.h is from libiconv

解决:

$ cd build_dir/host/pkg-config-*/glib
$ ./configure --enable-iconv=no --with-libiconv=gnu

你可能感兴趣的:(编译OpenWRT时 #error GNU libiconv not in use but included iconv.h is from libiconv)