]> git.saurik.com Git - wxWidgets.git/blob - distrib/scripts/mac/macbuild
Cache user and group name as these can be expensive to get on some systems.
[wxWidgets.git] / distrib / scripts / mac / macbuild
1 #!/bin/sh
2
3 # you need to change this if you run from outside this dir.
4 if [ "$WXROOT" = "" ]; then
5 WXROOT=../../..
6 fi
7
8 . $WXROOT/distrib/scripts/includes/configure_build.inc
9
10 . $WXROOT/distrib/scripts/mac/mac_options.inc
11
12 # most of this script is shared with other Mac-based and other
13 # configure-based build scripts, which is why this looks a little empty.
14
15 if [ "$UNIVERSAL" = "1" ]; then
16 OTHER_OPTS="--enable-universal_binary "
17 fi
18
19 do_build
20
21 make prefix=$INSTALLDIR install
22
23 cd $OLDDIR