1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-09 05:29:32 +00:00

ref-manual: Added PRIVATE_LIBS variable and supporting links.

(From yocto-docs rev: f4e8652581fe99a0d833242a8483ed637e55e3a5)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Scott Rifenbark
2014-05-22 22:30:45 +03:00
committed by Richard Purdie
parent 566b9bc5b2
commit 594833891d
2 changed files with 35 additions and 2 deletions
+2 -1
View File
@@ -735,7 +735,8 @@
picked up as the provider for a common library.
If that is the case, you should add the library's
<filename>.so</filename> file name to
<filename>PRIVATE_LIBS</filename> in the recipe that provides
<link linkend='var-PRIVATE_LIBS'><filename>PRIVATE_LIBS</filename></link>
in the recipe that provides
the private version of the library.
</para></listitem>
</itemizedlist>
+33 -1
View File
@@ -6133,7 +6133,39 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
</glossdef>
</glossentry>
<glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
<glossentry id='var-PRIVATE_LIBS'><glossterm>PRIVATE_LIBS</glossterm>
<glossdef>
<para>
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.
</para>
<para>
Libraries specified in this variable should be specified
by their file name.
For example, from the Firefox recipe in meta-browser:
<literallayout class='monospaced'>
PRIVATE_LIBS = "libmozjs.so \
libxpcom.so \
libnspr4.so \
libxul.so \
libmozalloc.so \
libplc4.so \
libplds4.so"
</literallayout>
</para>
</glossdef>
</glossentry>
<glossentry id='var-PROVIDES'><glossterm>PROVIDES</glossterm>
<glossdef>
<para>
A list of aliases that a recipe also provides.