Commit 25fee850 authored by Godfrey Chung's avatar Godfrey Chung Committed by Ludovic Rousseau

MacOSX/configure: fix checking error for dynamic library libusb

The directory may contain other dynamic libraries and therefore libusb
is incorrectly found.
parent ebf5010b
......@@ -48,7 +48,7 @@ LIBUSB_ARCHIVE="$LIBUSB_DIR"/libusb-1.0.a
LIBUSB_CFLAGS=$(pkg-config --cflags --static libusb-1.0)
LIBUSB_LIBS=$(pkg-config --libs --static libusb-1.0)
if ls "$LIBUSB_DIR"/*.dylib 2> /dev/null
if ls "$LIBUSB_DIR"/libusb-1.0*.dylib 2> /dev/null
then
echo -en $RED
echo "*****************************"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment