summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-protocols
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2013-11-07 10:10:47 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2013-11-18 23:12:18 +0100
commit63be0ff381350e471ebf318baef6a971bd87fe11 (patch)
tree6d986423ccb10b6b1837f46ca1f4b4904cd6d6e4 /meta-networking/recipes-protocols
parente91315fc217cdc925f1f0a7a74df7ca50b31acd7 (diff)
downloadmeta-openembedded-63be0ff381350e471ebf318baef6a971bd87fe11.tar.gz
accel-ppp: fix qa issue 'found library in wrong location' while multilib enabled on qemux86-64
While multilib enabled on qemux86-64, accel-ppp-lib should be installed to '${baselib}/accel-ppp', but the accel-ppp's CMakeLists.txt hardcoded to install to 'lib/accel-ppp', such as: ... INSTALL(TARGETS log_file LIBRARY DESTINATION lib/accel-ppp ) ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-networking/recipes-protocols')
-rw-r--r--meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
index a7c10f797..dde1f43da 100644
--- a/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
+++ b/meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb
@@ -30,3 +30,12 @@ PACKAGES =+ "${PN}-libs"
30FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so" 30FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
31INSANE_SKIP_${PN}-libs = "dev-so" 31INSANE_SKIP_${PN}-libs = "dev-so"
32RDEPENDS_${PN} += "${PN}-libs" 32RDEPENDS_${PN} += "${PN}-libs"
33
34do_install_prepend() {
35 cmlist=`find ${S} -name CMakeLists.txt`
36 for file in $cmlist; do
37 sed -i -e "s:LIBRARY DESTINATION lib/accel-ppp:LIBRARY DESTINATION ${baselib}/accel-ppp:g" \
38 -e "s:\${CMAKE_INSTALL_PREFIX}/lib/accel-ppp:\${CMAKE_INSTALL_PREFIX}/${baselib}/accel-ppp:g" \
39 $cmlist
40 done
41}