wok diff glibc-base/receipt @ rev 12823

glibc-base: improve ARM package
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 10:22:47 2012 +0200 (2012-05-22)
parents 521a11df54e7
children 98e7fe8d84f0
line diff
     1.1 --- a/glibc-base/receipt	Mon May 21 23:48:44 2012 +0200
     1.2 +++ b/glibc-base/receipt	Tue May 22 10:22:47 2012 +0200
     1.3 @@ -90,6 +90,9 @@
     1.4  {
     1.5  	if echo $root | grep -q /usr/cross; then
     1.6  		echo "Fixing: $root/lib/libc.so"
     1.7 -		sed -i s"|/lib|$root/lib|"g $root/lib/libc.so
     1.8 +		cat > $root/lib/libc.so << EOT
     1.9 +OUTPUT_FORMAT(elf32-littlearm)
    1.10 +GROUP ( $root/lib/libc.so.6 $root/lib/libc_nonshared.a AS_NEEDED ( $root/lib/ld-linux.so.3 ) )
    1.11 +EOT
    1.12  	fi
    1.13  }