Adding dependence between the executable and the shared libraries. Correcting spelling.
[u/mrichter/AliRoot.git] / build / makeg2cso.sh
1 #!/bin/sh
2 out=$ALICE_ROOT/lib/tgt_$ALICE_TARGET/libg2c_sh
3 cd /tmp
4 rm -rf g2c ; mkdir g2c ; cd g2c
5 ar -x /sw/lib/libg2c.a
6 export MACOSX_DEPLOYMENT_TARGET=10.3
7 unset LD_PREBIND
8 rm -f ${out}.so ${out}.dylib
9 g++ -bundle -flat_namespace -undefined dynamic_lookup -o ${out}.so `ls *.o | grep -v buggy`
10 g++ -dynamiclib -flat_namespace -undefined dynamic_lookup -single_module -o ${out}.dylib `ls *.o | grep -v buggy`
11