Patchwork distutils-common-base: Create staticdev pacakge for static libraries

login
register
mail settings
Submitter Stefan Herbrechtsmeier
Date Nov. 16, 2012, 10:28 a.m.
Message ID <1353061729-28868-1-git-send-email-stefan@herbrechtsmeier.net>
Download mbox | patch
Permalink /patch/39141/
State Accepted
Commit 0c4c3ebfedd06b2b8f36747bc0c0d986f05420cf
Headers show

Comments

Stefan Herbrechtsmeier - Nov. 16, 2012, 10:28 a.m.
From: Stefan Herbrechtsmeier <sherbrec@cit-ec.uni-bielefeld.de>

Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
---
 meta/classes/distutils-common-base.bbclass |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/distutils-common-base.bbclass b/meta/classes/distutils-common-base.bbclass
index f66a5cd..9a608eb 100644
--- a/meta/classes/distutils-common-base.bbclass
+++ b/meta/classes/distutils-common-base.bbclass
@@ -5,10 +5,13 @@  EXTRA_OEMAKE = ""
 export STAGING_INCDIR
 export STAGING_LIBDIR
 
-PACKAGES = "${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
+PACKAGES = "${PN}-staticdev ${PN}-dev ${PN}-dbg ${PN}-doc ${PN}"
 
 FILES_${PN} = "${bindir}/* ${libdir}/* ${libdir}/${PYTHON_DIR}/*"
 
+FILES_${PN}-staticdev += "\
+  ${PYTHON_SITEPACKAGES_DIR}/*.a \
+"
 FILES_${PN}-dev += "\
   ${datadir}/pkgconfig \
   ${libdir}/pkgconfig \