Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] lm-sensors: remove redundant BUILD_STATIC_LIB build parameter
Date: Thu, 27 Dec 2018 14:14:03 +0100	[thread overview]
Message-ID: <20181227141403.077691b0@windsurf> (raw)
In-Reply-To: <ae471095-2be7-3ccd-569d-b94e0f9a7e9b@gmail.com>

Hello,

On Thu, 27 Dec 2018 12:34:31 +0100, Romain Naour wrote:

> Le 27/12/2018 ? 11:13, Baruch Siach a ?crit?:
> > Commit 3e05efd76636 ("package/lm-sensors: disable static library for
> > shared-only build") added BUILD_STATIC_LIB to LM_SENSORS_MAKE_OPTS with
> > value that depends on BR2_SHARED_LIBS, but forgot to remove it from the
> > common LM_SENSORS_MAKE_OPTS. Fix that.  
> 
> IIRC, this patch was part of a series fixing packages that build a static
> library when BR2_SHARED_LIBS is set. I had a special hook checking if a package
> install a *.a file to STAGING_DIR.
> But this effort was stopped since there is some corner case where a .a file is
> needed:
> 
> http://lists.busybox.net/pipermail/buildroot/2015-January/116736.html

Are you pointing to the right e-mail? This e-mail is not at all saying
that there are some corner cases where a .a file is needed. All what I
was saying in this e-mail is: is it really worth patching / adding more
complexity to lots of packages just to make sure they don't
build/install a static library when BR2_SHARED_LIBS=y.

> But, we still have a case where a package A install a shared and a static
> library and a package B that depend on package A can choose to link against the
> shared or the static library.

I don't follow you here :-/

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-12-27 13:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-27 10:13 [Buildroot] [PATCH 1/3] lm-sensors: remove redundant BUILD_STATIC_LIB build parameter Baruch Siach
2018-12-27 10:13 ` [Buildroot] [PATCH 2/3] lm-sensors: make ISA tools depend on x86 Baruch Siach
2019-01-18 13:29   ` Peter Korsgaard
2018-12-27 10:13 ` [Buildroot] [PATCH 3/3] lm-sensors: bump to version 3.5.0 Baruch Siach
2018-12-27 11:34 ` [Buildroot] [PATCH 1/3] lm-sensors: remove redundant BUILD_STATIC_LIB build parameter Romain Naour
2018-12-27 13:14   ` Thomas Petazzoni [this message]
2018-12-27 13:34   ` Baruch Siach
2018-12-28 11:10 ` 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=20181227141403.077691b0@windsurf \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox