# HG changeset patch # User "Yann E. MORIN" # Date 1213563097 0 # Node ID 27d28e055f9431688ce3aa13a0df959c71bfff9f # Parent c2a68cba6c0cfd1dabbeaa91bd0a22c0c20794c5 Better install the libraries improperly installed by gcc in prefix/target/lib instead of sysroot/usr/lib. /trunk/scripts/build/cc_gcc.sh | 3 2 1 0 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff -r c2a68cba6c0c -r 27d28e055f94 scripts/build/cc_gcc.sh --- a/scripts/build/cc_gcc.sh Sun Jun 15 19:55:56 2008 +0000 +++ b/scripts/build/cc_gcc.sh Sun Jun 15 20:51:37 2008 +0000 @@ -297,7 +297,8 @@ # gcc installs stuff in prefix/target/lib, when it would make better sense # to install that into sysroot/usr/lib CT_DoLog EXTRA "Moving improperly installed gcc libs to sysroot" - ( cd "${CT_PREFIX_DIR}/${CT_TARGET}/lib"; tar cf - . ) | ( cd "${CT_SYSROOT_DIR}/usr/lib"; tar xfv - ) + ( cd "${CT_PREFIX_DIR}/${CT_TARGET}/lib"; tar cf - . ) | ( cd "${CT_SYSROOT_DIR}/usr/lib"; tar xfv - ) |CT_DoLog ALL + rm -rf "${CT_PREFIX_DIR}/${CT_TARGET}/lib" CT_EndStep }