add debian package control files for uClibc
[emdebian-crush-toolchain.git] / uClibc-0.9.30.1-debian / uclibc-dev.postinst
blobdd559a32af7fff56f5979d575b3d1073358273d9
1 #!/bin/sh
3 set -e
5 ldconfig
7 if [ "$1" = "configure" ]; then
8 if [ -f /usr/lib/libintl.so.1 ] ; then
9 rm -f /usr/lib/libc.so
10 cat > /usr/lib/libc.so << EOF
11 /* GNU ld script
12 Use the shared library, but some functions are only in
13 the static library, so try that secondarily. */
14 OUTPUT_FORMAT(elf32-i386)
15 GROUP ( /lib/libc.so.0 /usr/lib/libintl.so.1 )
16 EOF
17 chown root.root /usr/lib/libc.so
18 chmod 0644 /usr/lib/libc.so
22 #DEBHELPER#