* [PATCH 0/1] accel-ppp: fix qa issue 'found library in wrong location' while multilib enabled on qemux86-64
@ 2013-11-07 2:07 Hongxu Jia
2013-11-07 2:10 ` [PATCH 1/1] " Hongxu Jia
0 siblings, 1 reply; 2+ messages in thread
From: Hongxu Jia @ 2013-11-07 2:07 UTC (permalink / raw)
To: openembedded-devel
The following changes since commit ffb5434823195cbdc41c76a110eaa6ae04e2b010:
dnsmasq: uprev to 2.6.3 (2013-11-06 15:12:45 -0500)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib hongxu/fix-accel-ppp
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=hongxu/fix-accel-ppp
Hongxu Jia (1):
accel-ppp: fix qa issue 'found library in wrong location' while
multilib enabled on qemux86-64
meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb | 9 +++++++++
1 file changed, 9 insertions(+)
--
1.8.1.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH 1/1] accel-ppp: fix qa issue 'found library in wrong location' while multilib enabled on qemux86-64
2013-11-07 2:07 [PATCH 0/1] accel-ppp: fix qa issue 'found library in wrong location' while multilib enabled on qemux86-64 Hongxu Jia
@ 2013-11-07 2:10 ` Hongxu Jia
0 siblings, 0 replies; 2+ messages in thread
From: Hongxu Jia @ 2013-11-07 2:10 UTC (permalink / raw)
To: openembedded-devel
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>
---
meta-networking/recipes-protocols/accel-ppp/accel-ppp_git.bb | 9 +++++++++
1 file changed, 9 insertions(+)
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 a7c10f7..dde1f43 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"
FILES_${PN}-libs = "${libdir}/${BPN}/*.so /usr/lib/${BPN}/*.so"
INSANE_SKIP_${PN}-libs = "dev-so"
RDEPENDS_${PN} += "${PN}-libs"
+
+do_install_prepend() {
+ cmlist=`find ${S} -name CMakeLists.txt`
+ for file in $cmlist; do
+ sed -i -e "s:LIBRARY DESTINATION lib/accel-ppp:LIBRARY DESTINATION ${baselib}/accel-ppp:g" \
+ -e "s:\${CMAKE_INSTALL_PREFIX}/lib/accel-ppp:\${CMAKE_INSTALL_PREFIX}/${baselib}/accel-ppp:g" \
+ $cmlist
+ done
+}
--
1.8.1.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-11-07 2:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-07 2:07 [PATCH 0/1] accel-ppp: fix qa issue 'found library in wrong location' while multilib enabled on qemux86-64 Hongxu Jia
2013-11-07 2:10 ` [PATCH 1/1] " Hongxu Jia
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.