libcap: only install shared version
PATCH v2 1/1 libcap: only install shared version
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))
---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Update to have a clearer approach
package/libcap/libcap.mk | 3 +++ 1 file changed, 3 insertions(+)
package/libcap/libcap.mk +3 -0
@@ -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
Signature · 1 line
2.14.1
Thomas Petazzoni
AppliedPATCH v2 1/1 libcap: only install shared version
Hello,
Quoted 8 lines · Fabrice Fontaine
If
BR2_SHARED_LIBSis 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 <[email protected]>---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Update to have a clearer approach
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons) Embedded Linux and Kernel engineering https://bootlin.com
PATCH v2 1/1 libcap: only install shared version
In reply to Fabrice FontaineQuoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
If
BR2_SHARED_LIBSis 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 <[email protected]>---
Changes v1 -> v2 (after review of Thomas Petazzoni):
- Update to have a clearer approach
Committed to 2018.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard