Cross Compiling for aarch64 fails


I was not able to cross compile sqlcipher for my raspberry pi. I built my toolchain using yocto. I was able to configure and compile the source, but linking failed. Upon examination, the makefile was using the libtool file associated with the host system, not the target system. I manually changed the makefile to point to the correct libtool, and was able to link, install and use the library.