diff options
author | Romain Naour <romain.naour@openwide.fr> | 2014-08-26 01:12:33 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-10-05 23:35:15 +0200 |
commit | 441ff982fdc8907c7f1bd8ba24bdf50df0c53293 (patch) | |
tree | bfe37ec404915690be32d8d316b9fdac180d5b4c /package/python/python-110-optional-db.patch | |
parent | 1218ab64d09c715ce985d2c957e24ed4ad1ca5f0 (diff) | |
download | buildroot-441ff982fdc8907c7f1bd8ba24bdf50df0c53293.tar.gz buildroot-441ff982fdc8907c7f1bd8ba24bdf50df0c53293.zip |
package/sispmctl: fix static linking
The static linking doesn't work with libusb-compat when using
libusb-config. Also the CFLAGS initialization with libusb-config
--cflags is comented out.
Based on libftdi's patch, this commit adds the support for pkg-config
to link sispmctl correctly.
This allow to add the correct include directories to CFLAGS (Add
-I$(STAGING_DIR)/usr/include and
-I$(STAGING_DIR)/usr/include/libusb-1.0) and also add the required
libraries during static linking (-lusb -lusb-1.0 and -pthread).
Since 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@gmail.com>
Signed-off-by: Romain Naour <romain.naour@openwide.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/python/python-110-optional-db.patch')
0 files changed, 0 insertions, 0 deletions