summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authoryanjun.zhu <yanjun.zhu@windriver.com>2014-06-06 15:19:47 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-10 17:24:18 +0100
commit63f3c395055edd72eb93dfb08e5bda3c013aefde (patch)
treebbad4024e2af35c75935ec853608eec2fc645ca6 /meta/recipes-devtools
parent0670dd1339799326456d717c725bdca32eaabe2a (diff)
downloadpoky-63f3c395055edd72eb93dfb08e5bda3c013aefde.tar.gz
python-gst: link python shared library to config directory
python-gst needs python shared library in python config directory. (From OE-Core rev: 7a3b7d70a0cc4cdef81bb63fdac7de8f1309d1fc) Signed-off-by: yanjun.zhu <yanjun.zhu@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/python/python-gst_0.10.22.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python-gst_0.10.22.bb b/meta/recipes-devtools/python/python-gst_0.10.22.bb
index a551adbfa6..2a5f2b3239 100644
--- a/meta/recipes-devtools/python/python-gst_0.10.22.bb
+++ b/meta/recipes-devtools/python/python-gst_0.10.22.bb
@@ -21,3 +21,9 @@ EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
21FILES_${PN} += "${datadir}/gst-python" 21FILES_${PN} += "${datadir}/gst-python"
22FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs" 22FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs"
23FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/" 23FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/"
24
25do_configure_prepend() {
26 if [ `find ${STAGING_LIBDIR} -name libpython*.so` ]; then
27 ln -sf ${STAGING_LIBDIR}/libpython*.so `find ${STAGING_LIBDIR} -name libpython*.a -exec dirname {} \;`
28 fi
29}