I am trying to cross compile gnutls. Gnutls depends on libnettle. I was able to cross compile libnettle, however, when trying to cross compile gnutls, I encounter an error during configure:
configure: error: Libnettle 2.2 was not found.
The libnettle version I cross compiled was 2.2.
Command to configure is:
./configure --host=mips --prefix=/home/tom/lib/gnutls-3.0.3 CC=/crosstools/mips-gcc CXX=/crosstools/mips-g++ --enable-shared --with-libnettle-prefix=/home/tom/lib/nettle-2.2
I have also tried:
configure with LDFLAGS="-L/home/tom/lib/nettle-2.2"
with no luck.
The libs are installed in /home/tom/lib/nettle-2.2/lib. I have also tried this directory. For some reason libnettle is not getting detected. Anyone know why?