Hi, thanks for the responseI'm just using
PKG_CONFIG_PATH="${TARGET_DESTDIR}/lib/pkgconfig:$SYSroot/usr/lib/pkgconfig" \
CFLAGS=-I${TARGET_DESTDIR}/include \
CPPFLAGS=-I${TARGET_DESTDIR}/include \
LDFLAGS='-L${TARGET_DESTDIR}/lib ' \
./configure --host=${HOST_TARGET} --disable-tiffand the env variables should be correct since it works for all other libraries... and the error is usually related to /usr/local/lib or /usr/lib being used