Debian Codegraph @

install/unix/systems/FreeBSD/make_shared

raw symbols SCIP
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 gcc -shared -fPIC -o $*
8 rm -f $library.so
9 ln -s $1 $library.so