I'm trying to make a simple recipe that uses libxml. However, the headers for this are in libxlm2/libxml, so I need to add an include path.

I can get this to work using an absolute path, as shown below:

do_compile() {
   ${CC} -I/usr/include/libxml2 helloworld.c -o helloworld
}

However, this isn't good as it uses /usr. How should I do this? I've tried to find a ${...} to use, but I've not found anything that works.

Chris Tapp

[email protected]
www.keylevel.com



_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to