]> git.saurik.com Git - wxWidgets.git/blame_incremental - distrib/scripts/mac/macbuild
handle error in GetDataSize()
[wxWidgets.git] / distrib / scripts / mac / macbuild
... / ...
CommitLineData
1#!/bin/sh
2
3# you need to change this if you run from outside this dir.
4if [ "$WXROOT" = "" ]; then
5 scriptDir="$(cd $(dirname $0);pwd)"
6 WXROOT=$scriptDir/../../..
7fi
8
9. $WXROOT/distrib/scripts/includes/configure_build.inc
10
11. $WXROOT/distrib/scripts/mac/mac_options.inc
12
13# most of this script is shared with other Mac-based and other
14# configure-based build scripts, which is why this looks a little empty.
15
16if [ "$UNIVERSAL" = "1" ]; then
17 OTHER_OPTS="$OTHER_OPTS --enable-universal_binary --with-libjpeg=builtin --with-libpng=builtin"
18fi
19
20mkdir -p builds
21cd builds
22do_build
23
24make prefix=$INSTALLDIR install
25
26if [ "$WXPYTHON" == "1" ]; then
27 make -C contrib/src/gizmos prefix=$INSTALLDIR install
28 make -C contrib/src/stc prefix=$INSTALLDIR install
29fi
30
31cd $OLDDIR