[flashrom] Fix feature detection when fdti requires libusb for linking

Stefan Reinauer stepan at coresystems.de
Mon Aug 24 04:25:49 CEST 2009


On 8/24/09 4:05 AM, Carl-Daniel Hailfinger wrote:
> Hi Jörg,
>
> thanks for your patch.
> Review follows.
>
> On 23.08.2009 07:52, Joerg Mayer wrote:
>   
>> Index: Makefile
>> ===================================================================
>> --- Makefile	(revision 696)
>> +++ Makefile	(working copy)
>> @@ -75,12 +75,13 @@
>>  endif
>>  endif
>>  
>> +FTDILIBS = $(shell pkg-config --libs libftdi)
>>   
>>     
> AFAICS this breaks if pkg-config is not installed. 
>   


Maybe we should make pkg-config a requirement? The same problem happens
with libpci and libz.

Or is there a better way to solve this?

Stefan



-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the flashrom mailing list