wok rev 12715
cross-arm-binutils: improve package (use symlinks for gcc lib/include path)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 05 04:00:34 2012 +0200 (2012-05-05) |
parents | a497988d5e1b |
children | a99a7e9a93a6 |
files | cross-arm-binutils/receipt |
line diff
1.1 --- a/cross-arm-binutils/receipt Sat May 05 00:35:18 2012 +0200 1.2 +++ b/cross-arm-binutils/receipt Sat May 05 04:00:34 2012 +0200 1.3 @@ -47,8 +47,13 @@ 1.4 { 1.5 mkdir -p ${fs}${CROSS_PREFIX}/include 1.6 cp -a $install/usr/cross $fs/usr 1.7 - rm -rf ${fs}${CROSS_PREFIX}/share 1.8 + #rm ${fs}${CROSS_PREFIX}/lib/libiberty.a 1.9 1.10 # libiberty.h 1.11 cp -a $src/include/libiberty.h ${fs}${CROSS_PREFIX}/include 1.12 + 1.13 + # Move ldscripts and create symlink 1.14 + cd ${fs}${CROSS_PREFIX}/$CROSS_TARGET 1.15 + mv lib/ldscripts ../lib 1.16 + rmdir lib && ln -s ../lib . 1.17 }