]> sigrok.org Git - sigrok-util.git/commitdiff
sigrok-cross-mingw: libusb: Add --disable-udev.
authorUwe Hermann <redacted>
Tue, 8 Sep 2015 13:40:47 +0000 (15:40 +0200)
committerUwe Hermann <redacted>
Tue, 8 Sep 2015 13:40:47 +0000 (15:40 +0200)
Otherwise the (cross-)build fails like this:

  checking libudev.h usability... no
  checking libudev.h presence... no
  checking for libudev.h... no
  configure: error: "udev support requested but libudev not installed"

cross-compile/mingw/sigrok-cross-mingw

index f7b7310696b3368e1ce89dc2991413cd2faf2b98..7a2e8b39409e5ea9d1fbfe2e6767cb661c2fac30 100755 (executable)
@@ -118,7 +118,7 @@ $WGET http://zadig.akeo.ie/downloads/zadig_xp.exe -O $PREFIX/zadig_xp.exe
 $GIT_CLONE git://github.com/dickens/libusb -b event-abstraction-v4
 cd libusb
 ./autogen.sh
 $GIT_CLONE git://github.com/dickens/libusb -b event-abstraction-v4
 cd libusb
 ./autogen.sh
-./configure $C $L
+./configure $C $L --disable-udev
 make -j1 $V
 make install $V
 cd ..
 make -j1 $V
 make install $V
 cd ..