All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2,1/1] libcap: only install shared version
@ 2018-05-09  8:43 Fabrice Fontaine
  2018-05-12  7:02 ` Thomas Petazzoni
  2018-05-28 14:24 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2018-05-09  8:43 UTC (permalink / raw)
  To: buildroot

If BR2_SHARED_LIBS is set, only install shared version of library
(continue to build both libraries through all target as there is no
libcap.so target but only a libcap.so.$(VERSION).$(MINOR))

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
 - Update to have a clearer approach

 package/libcap/libcap.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libcap/libcap.mk b/package/libcap/libcap.mk
index 48c2cb3456..a947fa0686 100644
--- a/package/libcap/libcap.mk
+++ b/package/libcap/libcap.mk
@@ -18,6 +18,9 @@ HOST_LIBCAP_DEPENDENCIES = host-gperf
 ifeq ($(BR2_STATIC_LIBS),y)
 LIBCAP_MAKE_TARGET = libcap.a libcap.pc
 LIBCAP_MAKE_INSTALL_TARGET = install-static
+else ifeq ($(BR2_SHARED_LIBS),y)
+LIBCAP_MAKE_TARGET = all
+LIBCAP_MAKE_INSTALL_TARGET = install-shared
 else
 LIBCAP_MAKE_TARGET = all
 LIBCAP_MAKE_INSTALL_TARGET = install
-- 
2.14.1

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2,1/1] libcap: only install shared version
  2018-05-09  8:43 [Buildroot] [PATCH v2,1/1] libcap: only install shared version Fabrice Fontaine
@ 2018-05-12  7:02 ` Thomas Petazzoni
  2018-05-28 14:24 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2018-05-12  7:02 UTC (permalink / raw)
  To: buildroot

Hello,

On Wed,  9 May 2018 10:43:05 +0200, Fabrice Fontaine wrote:
> If BR2_SHARED_LIBS is set, only install shared version of library
> (continue to build both libraries through all target as there is no
> libcap.so target but only a libcap.so.$(VERSION).$(MINOR))
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Changes v1 -> v2 (after review of Thomas Petazzoni):
>  - Update to have a clearer approach

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH v2,1/1] libcap: only install shared version
  2018-05-09  8:43 [Buildroot] [PATCH v2,1/1] libcap: only install shared version Fabrice Fontaine
  2018-05-12  7:02 ` Thomas Petazzoni
@ 2018-05-28 14:24 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-05-28 14:24 UTC (permalink / raw)
  To: buildroot

>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice@gmail.com> writes:

 > If BR2_SHARED_LIBS is set, only install shared version of library
 > (continue to build both libraries through all target as there is no
 > libcap.so target but only a libcap.so.$(VERSION).$(MINOR))

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
 > ---
 > Changes v1 -> v2 (after review of Thomas Petazzoni):
 >  - Update to have a clearer approach

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-05-28 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-09  8:43 [Buildroot] [PATCH v2,1/1] libcap: only install shared version Fabrice Fontaine
2018-05-12  7:02 ` Thomas Petazzoni
2018-05-28 14:24 ` Peter Korsgaard

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.