Now supports cross compiling with library depends