summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Dickens <mdickens@nd.edu>2010-09-16 16:58:22 -0400
committerJohnathan Corgan <jcorgan@corganenterprises.com>2010-10-06 12:03:33 -0700
commit02e861042a55a29a9d23e34d3a193d31d183ae15 (patch)
tree31414b304742a55a0f06fb95a54539ccf4767140
parentddbb914deb468c688df7888070ee165cb5a41037 (diff)
Fix so that non-Darwin OSs use USB_LIBS correctly for linking
-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 a0d3425081..588a958e0e 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@"`