From 594833891de88c057e8c39eb648996bb757cbaed Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 22 May 2014 22:30:45 +0300 Subject: ref-manual: Added PRIVATE_LIBS variable and supporting links. (From yocto-docs rev: f4e8652581fe99a0d833242a8483ed637e55e3a5) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-qa-checks.xml | 3 ++- documentation/ref-manual/ref-variables.xml | 34 +++++++++++++++++++++++++++++- 2 files changed, 35 insertions(+), 2 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index e17fc2c216..16203e6dbf 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml @@ -735,7 +735,8 @@ picked up as the provider for a common library. If that is the case, you should add the library's .so file name to - PRIVATE_LIBS in the recipe that provides + PRIVATE_LIBS + in the recipe that provides the private version of the library. diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index d7f6a8bfb1..cd235e633e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -6133,7 +6133,39 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" - PROVIDES + PRIVATE_LIBS + + + Specifies libraries installed within a recipe that + should be ignored by the OpenEmbedded build system's + shared library resolver. + This variable is typically used when software being + built by a recipe has its own private versions of a + library normally provided by another recipe. + In this case, you would not want the package containing + the private libraries to be set as a dependency on other + unrelated packages that should instead depend on the + package providing the standard version of the library. + + + + Libraries specified in this variable should be specified + by their file name. + For example, from the Firefox recipe in meta-browser: + + PRIVATE_LIBS = "libmozjs.so \ + libxpcom.so \ + libnspr4.so \ + libxul.so \ + libmozalloc.so \ + libplc4.so \ + libplds4.so" + + + + + + PROVIDES A list of aliases that a recipe also provides. -- cgit v1.2.3-54-g00ecf