libftdi Archives

Subject: Re: libftdi-config --libs

From: Xiaofan Chen <xiaofanc@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 3 Sep 2012 22:06:19 +0800
On Mon, Sep 3, 2012 at 6:16 PM, xantares 09 <xantares09@xxxxxxxxxxx> wrote:
> Spotted another one: shouldn't 'libftdi-config --libs' return the usb
> libraries ?
> Before configuring, it seems LIBS is empty.

It seems to be okay to me since now 'libftdi-config --libs' returns
'-L/usr/local/lib -lftdi1' which should be correct.

But if you want to point the user for possible static linking,
then yes libusb-1.0 library should be included for that,
supposedly it can be something like this.
https://github.com/libusbx/libusbx/blob/master/libusb-1.0.pc.in
But I just tried to use "pkg-config --static libusb-1.0" and yet
it returns nothing under my Mac OS X machine.

-- 
Xiaofan

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread