summaryrefslogtreecommitdiffstats
path: root/build_all.mk
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2009-10-22 13:07:27 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2009-11-05 18:13:17 +0100
commitfb2214df0930ed07686ecda84309c1722ce95299 (patch)
treea309b0997d900b5568c50f7a06fe12df52c1fe0e /build_all.mk
parent2b18f326648a1fd59d720e464363a7a5596ffe0b (diff)
downloadOSELAS.Toolchain-fb2214df0930ed07686ecda84309c1722ce95299.tar.gz
OSELAS.Toolchain-fb2214df0930ed07686ecda84309c1722ce95299.tar.xz
[cross-gcc] fix dynamic linking problem with libstdc++OSELAS.Toolchain-1.99.3.5
We must have the 'libstdc++.so' in both '$SYSROOT/usr/lib' and the compiler's '$TARGET/lib' directory. If missing in '$TARGET/lib' linking a C++ application with 'g++' results in linking the 'libstdc++' statically. If missing in '$SYSROOT/usr/lib' the 'ld' of newer binutils won't find the libstdc++ under certain circumstances, e.g.: Linking a C application with 'gcc' against a shared library implemented in C++. With this patch we move the shared libs to '$SYSROOT/usr/lib' and create links in '$TARGET/lib'. So that everybody shoud be happy. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'build_all.mk')
0 files changed, 0 insertions, 0 deletions