diff options
author | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-26 14:29:48 -0800 |
---|---|---|
committer | Chris Dickens <christopher.a.dickens@gmail.com> | 2020-01-26 14:29:48 -0800 |
commit | a96937af9935c569b679d8ada2f59e90754b700a (patch) | |
tree | 4d01a888c8d5da48a7c890ca084be7fbdd3eed3f | |
parent | 48200f2cc23633899270e7c666ac7e948ead8df1 (diff) | |
download | libusb-a96937af9935c569b679d8ada2f59e90754b700a.tar.gz |
autobuild: Fix two issues
The test for defining the automake conditional for the poll
implementation was keying off of the threads variable, producing
incorrect results for Cygwin.
A simple typo in the Makefile causes a build failure when
cross-compiling for Windows.
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
-rw-r--r-- | configure.ac | 4 | ||||
-rw-r--r-- | libusb/Makefile.am | 2 | ||||
-rw-r--r-- | libusb/version_nano.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 4b8752a..a273688 100644 --- a/configure.ac +++ b/configure.ac @@ -186,8 +186,8 @@ AM_CONDITIONAL([OS_NULL], [test "x$backend" = xnull]) AM_CONDITIONAL([OS_OPENBSD], [test "x$backend" = xopenbsd]) AM_CONDITIONAL([OS_SUNOS], [test "x$backend" = xsunos]) AM_CONDITIONAL([OS_WINDOWS], [test "x$backend" = xwindows]) -AM_CONDITIONAL([POLL_POSIX], [test "x$threads" = xposix]) -AM_CONDITIONAL([POLL_WINDOWS], [test "x$threads" = xwindows]) +AM_CONDITIONAL([POLL_POSIX], [test "x$poll" = xposix]) +AM_CONDITIONAL([POLL_WINDOWS], [test "x$poll" = xwindows]) AM_CONDITIONAL([THREADS_POSIX], [test "x$threads" = xposix]) AM_CONDITIONAL([THREADS_WINDOWS], [test "x$threads" = xwindows]) AM_CONDITIONAL([CREATE_IMPORT_LIB], [test "x$create_import_lib" = xyes]) diff --git a/libusb/Makefile.am b/libusb/Makefile.am index 1e09222..5adba7c 100644 --- a/libusb/Makefile.am +++ b/libusb/Makefile.am @@ -31,7 +31,7 @@ OS_NULL_SRC = os/null_usb.c OS_OPENBSD_SRC = os/openbsd_usb.c OS_SUNOS_SRC = os/sunos_usb.h os/sunos_usb.c OS_WINDOWS_SRC = libusb-1.0.def libusb-1.0.rc \ - os/windows_common.h ps/windows_common.c \ + os/windows_common.h os/windows_common.c \ os/windows_usbdk.h os/windows_usbdk.c \ os/windows_winusb.h os/windows_winusb.c diff --git a/libusb/version_nano.h b/libusb/version_nano.h index b691456..eb561c0 100644 --- a/libusb/version_nano.h +++ b/libusb/version_nano.h @@ -1 +1 @@ -#define LIBUSB_NANO 11448 +#define LIBUSB_NANO 11449 |