From: Romain Naour <romain.naour@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/1] package/sispmctl: fix static linking
Date: Thu, 28 Aug 2014 23:42:39 +0200 [thread overview]
Message-ID: <53FFA24F.1010205@openwide.fr> (raw)
In-Reply-To: <CAPiYbRKyWdOrOge52eSiJTa0DSD3BwcBwyc3yrxryTY073P+Ng@mail.gmail.com>
Hi, Phil,
Le 26/08/2014 08:47, Phil Eichinger a ?crit :
> On 26 August 2014 01:12, Romain Naour <romain.naour@openwide.fr
> <mailto:romain.naour@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@gmail.com>>
> Signed-off-by: Romain Naour <romain.naour@openwide.fr
> <mailto:romain.naour@openwide.fr>>
>
>
> Thank you!
>
> Cheers, Phil
Your welcome :)
Feel free to test this patch reply with your Tested-by.
Best regards,
Romain
next prev parent reply other threads:[~2014-08-28 21:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-25 23:12 [Buildroot] [PATCH v2 1/1] package/sispmctl: fix static linking Romain Naour
2014-08-26 6:47 ` Phil Eichinger
2014-08-28 21:42 ` Romain Naour [this message]
2014-10-05 21:36 ` Thomas Petazzoni
2014-10-08 20:17 ` Romain Naour
2014-10-08 20:29 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53FFA24F.1010205@openwide.fr \
--to=romain.naour@openwide.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox