examples: Link only with ../libusb/libusb-1.0.la and not with -lusb-1.0
authorXiaofan Chen <xiaofanc@gmail.com>
Fri, 13 Jan 2012 12:04:00 +0000 (13:04 +0100)
committerPeter Stuge <peter@stuge.se>
Fri, 13 Jan 2012 17:04:39 +0000 (18:04 +0100)
commit93b0e09d53ed1d177631af9182378492481a790a
tree02b70e8e42b117f65005050a6c39deda1c21f860
parentcdc5df8f1b206a7c19bc221e8a9a97d5d98deb85
examples: Link only with ../libusb/libusb-1.0.la and not with -lusb-1.0

Previous _LDFLAGS included both the freshly built libusb in ../libusb
and -lusb-1.0, where libtool would usually resolve the latter to an
already-installed libusb library in the system. The extra reference
to a second libusb library resulted in failure to build examples on
Mac OS X in some cases, and is plain wrong.

See also the thread at http://marc.info/?m=132637593623667
examples/Makefile.am