From 02e861042a55a29a9d23e34d3a193d31d183ae15 Mon Sep 17 00:00:00 2001 From: Michael Dickens Date: Thu, 16 Sep 2010 16:58:22 -0400 Subject: [PATCH] Fix so that non-Darwin OSs use USB_LIBS correctly for linking --- config/usrp_libusb.m4 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/usrp_libusb.m4 b/config/usrp_libusb.m4 index a0d34250..588a958e 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@"` -- 2.30.2