3608532005-04-24Petter Larsson #!/bin/sh if [ -f '@DIR@/libc++.c' ] ; then case "`uname -s`" in SunOS) LDSHARED=-G;; *) LDSHARED=-shared;; esac case "`uname -m`" in ppc) LONGCALL=-mlongcall;; *) LONGCALL=;; esac gcc -o /tmp/libc++dummy.so $LDSHARED $LONGCALL '@DIR@/libc++.c' if [ -f '/tmp/libc++dummy.so' ] ; then # For the real-codecs. I blame ldopen() LD_PRELOAD='/tmp/libc++dummy.so' export LD_PRELOAD fi fi exec pike -M @DIR@/pike-modules @DIR@/programs/ahilfe.pike "$@"