1 Usual patch to produce Linux-like .so files on FreeBSD
3 --- a/ltmain.sh Wed Aug 29 14:28:46 2007
4 +++ b/ltmain.sh Wed Jun 25 13:06:05 2008
6 revision="$number_revision"
8 freebsd-aout|freebsd-elf|qnx|sunos)
9 - current="$number_major"
10 - revision="$number_minor"
12 + current=`expr $number_major + $number_minor`
14 + revision="$number_revision"
17 func_arith $number_major + $number_minor
23 - versuffix=".$current"
24 + major=.`expr $current - $age`
25 + versuffix="$major.$age.$revision"