diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2015-04-08 18:55:12 +0200 |
---|---|---|
committer | Stephen Warren <swarren@nvidia.com> | 2015-04-13 09:59:30 -0600 |
commit | dc26d04fc51737958c1e803cc9208329605a9dcd (patch) | |
tree | 55d6635d44b391608b9cee42e0fb6dd44c6fbf32 | |
parent | 85a34240236242bec4e1ec83ffe5e7e494ec75d4 (diff) | |
download | tegrarcm-dc26d04fc51737958c1e803cc9208329605a9dcd.tar.gz |
configure.ac: Request at least libusb 1.0.9
tegrarcm needs at least libusb 1.0.9 which introduces libusb_error_name.
Otherwise the build fails with the following linker error:
usb.o: In function `usb_read':
.../tegrarcm/src/usb.c:260: undefined reference to `libusb_error_name'
usb.o: In function `usb_write':
.../tegrarcm/src/usb.c:233: undefined reference to `libusb_error_name'
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index c95a0ec..51ac73d 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,7 @@ AC_CHECK_LIB([pthread], [pthread_create], [HAVE_PTHREAD=1], [AC_MSG_ERROR([libpthread is not installed.])]) -PKG_CHECK_MODULES([LIBUSB], [libusb-1.0]) +PKG_CHECK_MODULES([LIBUSB], [libusb-1.0 >= 1.0.9]) AC_LANG(C++) SAVED_LDFLAGS=$LDFLAGS LDFLAGS="$LDFLAGS -lcryptopp -lpthread" |