mirror of
https://git.yoctoproject.org/poky
synced 2026-02-11 03:03:02 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
0670dd1339
commit
63f3c39505
@@ -21,3 +21,9 @@ EXTRA_OECONF += "--with-python-includes=${STAGING_INCDIR}/../"
|
||||
FILES_${PN} += "${datadir}/gst-python"
|
||||
FILES_${PN}-dev += "${datadir}/gst-python/0.10/defs"
|
||||
FILES_${PN}-dbg += "${libdir}/${PYTHON_DIR}/site-packages/gst-0.10/gst/.debug/ ${libdir}/gstreamer-0.10/.debug/"
|
||||
|
||||
do_configure_prepend() {
|
||||
if [ `find ${STAGING_LIBDIR} -name libpython*.so` ]; then
|
||||
ln -sf ${STAGING_LIBDIR}/libpython*.so `find ${STAGING_LIBDIR} -name libpython*.a -exec dirname {} \;`
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user