Misc: Added MLPREFIX to final pkg names in case of DEBIAN_NAMES.

[YOCTO #1486]
Added MLPREFIX to the final package names of library packages in case of
DEBIAN_NAMES.

(From OE-Core rev: 1162b78d6f99da52cd7d122e4295c618184e41cd)

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Lianhao Lu
2011-09-16 20:32:50 +08:00
committed by Richard Purdie
parent 27f8868509
commit aab71071d7
6 changed files with 10 additions and 10 deletions

View File

@@ -18,14 +18,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=90b90b60eb30f65fc9c2673d7cf59e24"
DEPENDS += "virtual/libx11 libxrender freetype fontconfig"
PROVIDES = "xft"
PR = "r1"
PR = "r2"
PE = "1"
XORG_PN = "libXft"
python () {
if bb.data.getVar('DEBIAN_NAMES', d, 1):
bb.data.setVar('PKG_${PN}', 'libxft2', d)
bb.data.setVar('PKG_${PN}', '${MLPREFIX}libxft2', d)
}
FILES_${PN} = "${libdir}/lib*${SOLIBS}"