From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] audiofile: needs dynamic library
Date: Tue, 12 Nov 2013 12:42:30 +0100 [thread overview]
Message-ID: <87ob5p4zix.fsf@dell.be.48ers.dk> (raw)
In-Reply-To: <1384244924-31625-1-git-send-email-spdawson@gmail.com> (spdawson@gmail.com's message of "Tue, 12 Nov 2013 08:28:44 +0000")
>>>>> "spdawson" == spdawson <spdawson@gmail.com> writes:
> From: Simon Dawson <spdawson@gmail.com>
> Fixes build failures such as the following.
> http://autobuild.buildroot.net/results/c00/c002711ef82fb29f1765df251bd0006caeccc508/
> Signed-off-by: Simon Dawson <spdawson@gmail.com>
> ---
> package/audiofile/Config.in | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
> diff --git a/package/audiofile/Config.in b/package/audiofile/Config.in
> index 4aa8d69..9752648 100644
> --- a/package/audiofile/Config.in
> +++ b/package/audiofile/Config.in
> @@ -1,11 +1,12 @@
> config BR2_PACKAGE_AUDIOFILE
> bool "audiofile"
> depends on BR2_INSTALL_LIBSTDCPP
> + depends on !BR2_PREFER_STATIC_LIB
> help
> The Audio File Library handles reading and writing audio files
> in many common formats.
> http://www.68k.org/~michael/audiofile/
> -comment "audiofile needs a toolchain w/ C++"
> - depends on !BR2_INSTALL_LIBSTDCPP
> +comment "audiofile needs a toolchain w/ C++, dynamic library"
> + depends on !BR2_INSTALL_LIBSTDCPP || BR2_PREFER_STATIC_LIB
Thanks, but you forgot the reverse dependencies:
git grep -l 'select BR2_PACKAGE_AUDIOFILE'
package/mpd/Config.in
Looking at the build log, the only reason why it fails is that libtool
is acting up. It wants to link with libstdc++.so instead of libstdc++.a.
A quick test shows that you can fix it by passing -static instead of
--static in LDFLAGS, but that effectively reverts 0a4bd19f4a136930c:
http://git.buildroot.net/buildroot/commit/?id=0a4bd19f4a136930c
Does anybody know what the right solution is?
--
Bye, Peter Korsgaard
next prev parent reply other threads:[~2013-11-12 11:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-12 8:28 [Buildroot] [PATCH] audiofile: needs dynamic library spdawson at gmail.com
2013-11-12 11:42 ` Peter Korsgaard [this message]
2013-11-12 11:56 ` Gustavo Zacarias
2013-11-12 12:17 ` Thomas Petazzoni
2013-11-12 12:23 ` Peter Korsgaard
2013-11-12 12:25 ` Gustavo Zacarias
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=87ob5p4zix.fsf@dell.be.48ers.dk \
--to=jacmet@uclibc.org \
--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