twindows binaries: skip building libusb if already done - electrum - Electrum Bitcoin wallet HTML git clone https://git.parazyd.org/electrum DIR Log DIR Files DIR Refs DIR Submodules --- DIR commit 9834d6cd94788fe41bc2b8e87e7642bd918e030a DIR parent eca769c4ca71c5e950b91f9b7678e6acc1b69d49 HTML Author: SomberNight <somber.night@protonmail.com> Date: Wed, 18 Dec 2019 18:23:00 +0100 windows binaries: skip building libusb if already done Diffstat: M contrib/build-wine/prepare-wine.sh | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) --- DIR diff --git a/contrib/build-wine/prepare-wine.sh b/contrib/build-wine/prepare-wine.sh t@@ -77,6 +77,10 @@ wine "$CACHEDIR/$NSIS_FILENAME" /S info "Compiling libusb..." ( cd "$CACHEDIR" + if [ -f "libusb/libusb/.libs/libusb-1.0.dll" ]; then + info "libusb-1.0.dll already built, skipping" + exit 0 + fi rm -rf libusb mkdir libusb cd libusb