summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/usrp_libusb.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4
index a0d342508..588a958e0 100644
--- a/config/usrp_libusb.m4
+++ b/config/usrp_libusb.m4
@@ -107,14 +107,13 @@ AC_DEFUN([USRP_LIBUSB], [
AC_LANG_PUSH(C)
save_LIBS="$LIBS"
- LIBS=""
case "$host_os" in
darwin*)
USB_LIBS="$USB_LIBS -lIOKit"
- LIBS="$USB_LIBS"
;;
*) ;;
esac
+ LIBS="$USB_LIBS"
dnl find the library link name
usb_lib_name=`echo $USB_LIBS | sed -e "s@.*-l\(usb[[^ ]]*\).*@\1@"`