]> git.saurik.com Git - wxWidgets.git/blame - setup/shared/sharedHpux
New way to grey out disabled toolbar icons.
[wxWidgets.git] / setup / shared / sharedHpux
CommitLineData
bcf1fa6b
RR
1#! /bin/sh
2
3COMPILER=$1
4LIBRARY_BASE=$2
5LIBRARY_MAJOR=$3
6LIBRARY_MINOR=$4
7shift 3
8LIBRARY_OBJS=
9while (test $# -ne 1) do
10 shift;
11 LIBRARY_OBJS="$LIBRARY_OBJS $1sh";
12done
13
14LIBRARY_BASE=`echo $LIBRARY_BASE | sed 's/.so/.sl/'`
15LIBRARY_NAME=`basename $LIBRARY_BASE`
16LIBRARY_FILE=$LIBRARY_BASE
17
18echo "Creating shared library: $LIBRARY_FILE"
19
20if test "x$COMPILER" = xgcc ; then
21 gcc -shared -o $LIBRARY_FILE $LIBRARY_OBJS
22else
23 CC -Wl,+s -o $LIBRARY_FILE $LIBRARY_OBJS
24fi
25chmod a+x $LIBRARY_FILE
26
27
28
29