Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOSX/configure: fix checking error for dynamic library libusb #61

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
MacOSX/configure: fix checking error for dynamic library libusb
The directory may contain other dynamic libraries and therefore libusb
is incorrectly found.
  • Loading branch information
godfreychung committed Jun 28, 2019
commit 15ae291267f37563732788fae9620be5aea1cdec
2 changes: 1 addition & 1 deletion MacOSX/configure
Original file line number Diff line number Diff line change
Expand Up @@ -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 "*****************************"
Expand Down