1
  
2
  
3
  
4
  
5
  
6
  
7
  
8
  
9
  
10
  
11
  
12
  
13
  
14
  
15
  
16
  
17
  
18
  
19
  
#!/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 "$@"