blob: 6e6bb83d1f9658c20b78b8cd1a98f33eca9971e0 [file] [log] [blame]
Patrick Williamsd8c66bc2016-06-20 12:57:21 -05001As all invokes all-recursive which uses sub-makes to invoke all-am, the
2resulting makefile wants to build libusb-1.0.la twice. In non-parallel builds
3the second attempt is skipped as the target already exists, but in highly
4parallel builds it's likely that two makes will be building libusb-1.0.la at the
5same time.
6
7Solve this by removing the explicit all target, which as libusb-1.0.dll isn't
8built under Linux is redundant anyway.
9
10Upstream-Status: Pending
11Signed-off-by: Ross Burton <ross.burton@intel.com>
12
13diff --git a/libusb/Makefile.am b/libusb/Makefile.am
14index 0cab0a0..c880213 100644
15--- a/libusb/Makefile.am
16+++ b/libusb/Makefile.am
17@@ -1,2 +0,0 @@
18-all: libusb-1.0.la libusb-1.0.dll
19-