Date: Thu, 21 Feb 2013 09:11:17 +0800 From: Xiaofan Chen <xiaofanc@gmail.com> To: Hans Petter Selasky <hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: argyllcms and usb (0.1 and 1.0) Message-ID: <CAGjSPUDvDFrHzqJQ%2BGgEb18B5uO-4S2YdyNFDH4GA_VGEy8OHA@mail.gmail.com> In-Reply-To: <201302201804.09100.hselasky@c2i.net> References: <5124932E.5080205@passap.ru> <201302201804.09100.hselasky@c2i.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Feb 21, 2013 at 1:04 AM, Hans Petter Selasky <hselasky@c2i.net> wrote: > USE_LIBUSB1 should be set, and -lusb must be used as linker flag, not - > lusb-1.0 like under linux. > > In FreeBSD -lusb is a multi-API library, including v0.1, v1.0 and v2.0. Header > files are in /usr/include Maybe it is good to have a pkg-config pc file for libusb-0.1 and libusb-1.0 wrapper to point to the correct -lusb flag. Reference: http://freebsd.1045724.n5.nabble.com/libusb-config-missing-td4055538.html Or maybe it is good to have symbolic link to libusb-1.0.so. -- Xiaofan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGjSPUDvDFrHzqJQ%2BGgEb18B5uO-4S2YdyNFDH4GA_VGEy8OHA>