All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/1] libstdc++.bb: copy libstdc++.so* to rootfs
@ 2010-03-16 20:58 Ulf Samuelsson
  2010-03-17  0:43 ` Tom Rini
  0 siblings, 1 reply; 6+ messages in thread
From: Ulf Samuelsson @ 2010-03-16 20:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Ulf Samuelsson

libstdc++.so* is needed by some applications during build,
including gnome-mplayer.

This recipe copies the shared library from the crosscompiler
directory, without having to install the complete compiler
in the target system

Signed-off-by: Ulf Samuelsson <ulf.samuelsson@atmel.com>
---
 recipes/libstdc++/libstdc++.bb |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
 create mode 100644 recipes/libstdc++/libstdc++.bb

diff --git a/recipes/libstdc++/libstdc++.bb b/recipes/libstdc++/libstdc++.bb
new file mode 100644
index 0000000..a24c153
--- /dev/null
+++ b/recipes/libstdc++/libstdc++.bb
@@ -0,0 +1,15 @@
+PR = "r1"
+LIBSTDCPLUSPLUS_TARGET = ${STAGING_DIR_TARGET}/lib
+
+do_install () {
+	if ! [ -e ${LIBSTDCPLUSPLUS_TARGET}/libstdc++.so ] ; then 
+		cp ${CROSS_DIR}/${TARGET_SYS}/lib/libstdc++.so.6.*	${LIBSTDCPLUSPLUS_TARGET}
+		cd ${LIBSTDCPLUSPLUS_TARGET}
+		file=`ls libstdc++.so.6.*`
+		ln	-s $file	libstdc++.so.6
+		ln	-s $file	libstdc++.so	
+	fi
+}
+
+PROVIDES = "libstdc++"
+
-- 
1.6.0.2




^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-03-17  7:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-16 20:58 [PATCH 1/1] libstdc++.bb: copy libstdc++.so* to rootfs Ulf Samuelsson
2010-03-17  0:43 ` Tom Rini
2010-03-17  2:03   ` Holger Hans Peter Freyther
2010-03-17  4:31     ` Khem Raj
2010-03-17  6:31     ` Ulf Samuelsson
2010-03-17  7:04       ` Holger Hans Peter Freyther

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.