]>
git.saurik.com Git - wxWidgets.git/blob - setup/shared/sharedSysV
9 while (test $# -ne 1) do
11 LIBRARY_OBJS
="$LIBRARY_OBJS $1sh";
14 LIBRARY_BASE
=`echo $LIBRARY_BASE | sed 's/.so/.sl/'`
15 LIBRARY_NAME
=`basename $LIBRARY_BASE`
16 LIBRARY_FILE
=$LIBRARY_BASE
18 echo "Creating shared library: $LIBRARY_FILE"
20 if test "x$COMPILER" = xgcc
; then
21 gcc
-shared -h $LIBRARY_NAME -o $LIBRARY_FILE $LIBRARY_OBJS
23 CC
-G -h $LIBRARY_NAME -o $LIBRARY_FILE $LIBRARY_OBJS
25 chmod a
+x
$LIBRARY_FILE