From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package/meson: force ext static libs when BR2_STATIC_LIBS
Date: Sat, 26 Oct 2019 19:02:25 +0200 [thread overview]
Message-ID: <20191026190225.45f01aa4@windsurf.home> (raw)
In-Reply-To: <20191026153006.25122-1-matthew.weber@rockwellcollins.com>
On Sat, 26 Oct 2019 10:30:06 -0500
Matt Weber <matthew.weber@rockwellcollins.com> wrote:
> This patch adds a case in the library pattern logic to prefer static
> libraries when the Meson Core option for "default_library" is set to
> solely static.
>
> The existing library search order makes sense for cases of shared and
> shared / static mixed. However if using a prebuilt cross-toolchain,
> they usually provide both a static and shared version of sysroot
> libraries. This presents a problem in a complete static build where
> there won't be shared libraries at runtime and during build time there
> are failures like "ld: attempted static link of dynamic object".
>
> Bug:
> https://github.com/mesonbuild/meson/issues/6108
>
> Fixes:
> http://autobuild.buildroot.net/results/db1740b4777f436324218c52bc7b08e5c21b667d/
> http://autobuild.buildroot.net/results/c17/c17bbb12d9deadd64a441b36e324cfbbe8aba5be/
>
> Cc: Arnout Vandecappelle <arnout@mind.be>
> Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com>
> ---
> ...tic-libs-when-default-library-static.patch | 45 +++++++++++++++++++
> 1 file changed, 45 insertions(+)
> create mode 100644 package/meson/0003-Prefer-ext-static-libs-when-default-library-static.patch
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
prev parent reply other threads:[~2019-10-26 17:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-26 15:30 [Buildroot] [PATCH] package/meson: force ext static libs when BR2_STATIC_LIBS Matt Weber
2019-10-26 17:02 ` Thomas Petazzoni [this message]
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=20191026190225.45f01aa4@windsurf.home \
--to=thomas.petazzoni@bootlin.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.