projects
/
debian
/
gnuradio
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddbb914
)
Fix so that non-Darwin OSs use USB_LIBS correctly for linking
author
Michael Dickens
<mdickens@nd.edu>
Thu, 16 Sep 2010 20:58:22 +0000
(16:58 -0400)
committer
Johnathan Corgan
<jcorgan@corganenterprises.com>
Wed, 6 Oct 2010 19:03:33 +0000
(12:03 -0700)
config/usrp_libusb.m4
patch
|
blob
|
history
diff --git
a/config/usrp_libusb.m4
b/config/usrp_libusb.m4
index a0d3425081305309606782844f712916d615014b..588a958e0e55da0bb4ea5f59c78c37b9bf8f4234 100644
(file)
--- 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@"`