Debian Codegraph @

install/unix/systems/Cygwin/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 Linux 1.2.13
6 #sh_ext=`basename $1 | sed 's/lib.*\.so\.\(.\)\..*$/\.so\.\1/'`
7 #gcc -shared -Wl,-soname,$library$sh_ext -o $*
8 #
9 # For Linux 2.0.0
10 gccscip-shell system . . gcc. -shared -Wl,-soname,$1 -o $*
11 rmscip-shell system . . rm. -f $library.so
12 lnscip-shell system . . ln. -s $1 $library.so