[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
IRIX and .so numbers
From: |
Nick Blievers |
Subject: |
IRIX and .so numbers |
Date: |
Mon, 7 Jan 2002 16:12:10 +1100 |
Hi,
in ltmain.in there is the following block of code:
irix | nonstopux)
case $version_type in
nonstopux) verstring_prefix=nonstopux ;;
*) verstring_prefix=sgi ;;
esac
verstring="$verstring_prefix$major.$revision"
major=`expr $current - $age + 1`
# Add in all the interfaces that we are compatible with.
loop=$revision
while test "$loop" -ne 0; do
iface=`expr $revision - $loop`
loop=`expr $loop - 1`
verstring="$verstring_prefix$major.$iface:$verstring"
done
# Before this point, $major must not contain `.'.
major=.$major
versuffix="$major.$revision"
;;
linux)
major=.`expr $current - $age`
versuffix="$major.$age.$revision"
;;
Can anyone explain why major=`expr $current - $age + 1` for IRIX? When I am
building freetype, I get *.so.6 on Linux and *.so.7 on IRIX, which suggests
the +1 is erroneous. Can anyone confirm?
Removing the +1 seems to give the desired results, and allows my OpenOffice
build to continue.
Thanks
Nick
- IRIX and .so numbers,
Nick Blievers <=