| 1 |
#!/bin/sh |
| 2 |
shift |
| 3 |
library=`basename $1 | sed 's/\.so\..*$//'` |
| 4 |
# |
| 5 |
# For FreeBSD : Similar to Linux except the removal of |
| 6 |
# -Wl,-soname,$library$sh_ext passed to gcc |
| 7 |
#cc -no-cpp-precomp -dynamic -o $* |
| 8 |
libtool -o $* |
| 9 |
rm -f $library.so |
| 10 |
ln -s $1 $library.so |