From: Uwe Hermann Date: Sat, 7 Dec 2013 12:32:09 +0000 (+0100) Subject: Fix libftdi build. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=147100f0c48f94184652ad8e2ee24e1b4b9867ef;p=sigrok-util.git Fix libftdi build. libftdi needs to be able to find libusb-config, which is installed in the $PREFIX/bin directory. --- diff --git a/cross-compile/android/sigrok-cross-android b/cross-compile/android/sigrok-cross-android index cd40fde..439e99a 100755 --- a/cross-compile/android/sigrok-cross-android +++ b/cross-compile/android/sigrok-cross-android @@ -187,7 +187,8 @@ tar xfz libftdi-$VER_LIBFTDI.tar.gz cd libftdi-$VER_LIBFTDI cp -f ../config/config.guess . cp -f ../config/config.sub . -./configure $C +# libftdi needs to find libusb-config which is installed in $PREFIX/bin. +PATH=$PREFIX/bin:$PATH ./configure $C make make install cd ..