From patchwork Tue Apr 17 13:05:21 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [3/5] python: use PKGSUFFIX for libpython2 Date: Tue, 17 Apr 2012 13:05:21 -0000 From: Andreas Oberritter X-Patchwork-Id: 26053 Message-Id: <1334667923-13908-4-git-send-email-obi@opendreambox.org> To: openembedded-core@lists.openembedded.org * python-nativesdk shouldn't provide libpython2, but libpython2-nativesdk. Signed-off-by: Andreas Oberritter --- meta/recipes-devtools/python/python_2.7.2.bb | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/python/python_2.7.2.bb b/meta/recipes-devtools/python/python_2.7.2.bb index 95e17a8..1fcfa71 100644 --- a/meta/recipes-devtools/python/python_2.7.2.bb +++ b/meta/recipes-devtools/python/python_2.7.2.bb @@ -133,8 +133,8 @@ RRECOMMENDS_${PN}-core = "${PN}-readline" RRECOMMENDS_${PN}-crypt = "openssl" # package libpython2 -PACKAGES =+ "lib${BPN}2" -FILES_lib${BPN}2 = "${libdir}/libpython*.so.*" +PACKAGES =+ "lib${BPN}2${PKGSUFFIX}" +FILES_lib${BPN}2${PKGSUFFIX} = "${libdir}/libpython*.so.*" # catch debug extensions (isn't that already in python-core-dbg?) FILES_${PN}-dbg += "${libdir}/python${PYTHON_MAJMIN}/lib-dynload/.debug" @@ -148,3 +148,6 @@ PACKAGES += "${PN}-man" FILES_${PN}-man = "${datadir}/man" BBCLASSEXTEND = "nativesdk" + +PKGSUFFIX = "" +PKGSUFFIX_virtclass-nativesdk = "-nativesdk"