[yocto] How to use iconv natively in do_compile?

Aaron_Wright at selinc.com Aaron_Wright at selinc.com
Mon Dec 18 14:20:43 PST 2017


I'm on pyro, and I have a do_compile step that converts some files to 
UTF8. I use iconv to do this.

According to `oe-pkgdata-util find-path /usr/bin/iconv`, iconv is provided 
by the glibc-utils package. So I tried adding glibc-native or glibc to my 
DEPENDS, but that didn't work. 

I also tried virtual/libiconv-native without any luck. virtual/libiconv is 
listed in ASSUME_PROVIDED but iconv isn't in HOSTTOOLS. I'm not 100% sure 
how those variables are supposed to work.

What do I put in my DEPENDS so that iconv is natively available during 
do_compile?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20171218/fea47f96/attachment.html>


More information about the yocto mailing list