Ticket #135 (closed defect: fixed)

Opened 12 months ago

Last modified 10 months ago

libusb-compat-0.1 examples/Makefile.am problem

Reported by: xiaofan Owned by: xiaofan
Milestone: Component: libusb-compat-0.1
Keywords: Cc:
Blocked By: Blocks:

Change History

comment:1 Changed 10 months ago by xiaofan

  • Owner set to xiaofan
  • Resolution set to fixed
  • Status changed from new to closed

In b2200bea0cf009f4ca31717b588e3c78bbda4e96/libusb-compat-0.1:

examples: Link only with ../libusb/libusb.la and not with -lusb

Similar to libusb.git commit 93b0e09d53ed1d177631af9182378492481a790a
http://git.libusb.org/?p=libusb.git;a=commitdiff;h=93b0e09d53ed1d177631af918

Previous _LDFLAGS included both the freshly built libusb in ../libusb
and -lusb, where libtool would usually resolve the latter to an
already-installed libusb library in the system. The extra reference
to a second libusb library may cause failures to build examples
on some platforms and is wrong.

Fixes #135.

Note: See TracTickets for help on using tickets.