]> sigrok.org Git - sigrok-util.git/commitdiff
Fix libftdi build.
authorUwe Hermann <redacted>
Sat, 7 Dec 2013 12:32:09 +0000 (13:32 +0100)
committerUwe Hermann <redacted>
Sat, 7 Dec 2013 12:32:09 +0000 (13:32 +0100)
libftdi needs to be able to find libusb-config, which is installed in
the $PREFIX/bin directory.

cross-compile/android/sigrok-cross-android

index cd40fde6ed992f983c643ff03ab24fee88b80b0f..439e99a82736b90833d92236607b27e5950cedb7 100755 (executable)
@@ -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 ..