Debian Codegraph @

install/unix/systems/FreeBSD/make_shared

raw symbols SCIP
1 #!/bin/shscip-shell filesystem . . `/bin/sh`.
2 shift
3 library=`basenamescip-shell system . . basename. $1 | sedscip-shell system . . sed. 's/\.so\..*$//'`
4 #
5 # For FreeBSD : Similar to Linux except the removal of
6 # -Wl,-soname,$library$sh_ext passed to gcc
7 gccscip-shell system . . gcc. -shared -fPIC -o $*
8 rmscip-shell system . . rm. -f $library.so
9 lnscip-shell system . . ln. -s $1 $library.so