[Buildroot] [PATCH v2 1/1] package/sispmctl: fix static linking

Romain Naour romain.naour at openwide.fr
Thu Aug 28 21:42:39 UTC 2014


Hi, Phil,

Le 26/08/2014 08:47, Phil Eichinger a écrit :
> On 26 August 2014 01:12, Romain Naour <romain.naour at openwide.fr
> <mailto:romain.naour at openwide.fr>> wrote:
> 
>     The static linking doesn't works with libusb-compat when using libusb-config.
>     Also the CFLAGS initialization with libusb-config --cflags is comented out.
> 
>     Based on libftdi's patch, add the support for pkg-config to link sispmctl
>     correctly.
> 
>     This allow to add correct include directory to CFLAGS
>     (Add -I$(STAGING_DIR)/usr/include and -I$(STAGING_DIR)/usr/include/libusb-1.0)
>     Also add needed libraries during static linking (-lusb -lusb-1.0 and -pthread)
> 
>     Since configure.ac <http://configure.ac> is modified, the configure script
>     needs to be regenerated
>     with autoreconf.
> 
>     Fixes:
>     http://autobuild.buildroot.net/results/647/6473088e751d3ab3a5227e9d7876966934e66378/build-end.log
> 
>     Cc: Phil Eichinger <phil.eichinger at gmail.com <mailto:phil.eichinger at gmail.com>>
>     Signed-off-by: Romain Naour <romain.naour at openwide.fr
>     <mailto:romain.naour at openwide.fr>>
> 
> 
> Thank you!
> 
> Cheers, Phil

Your welcome :)

Feel free to test this patch reply with your Tested-by.

Best regards,
Romain


More information about the buildroot mailing list