X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3d23c9b7d9977707bfe9d83d1b30cb5147126b3c..099f7f787b5c56ab6b357d98ae9e5b3a09ec1e66:/distrib/scripts/includes/configure_build.inc diff --git a/distrib/scripts/includes/configure_build.inc b/distrib/scripts/includes/configure_build.inc index a754d9a036..5323f17c0b 100644 --- a/distrib/scripts/includes/configure_build.inc +++ b/distrib/scripts/includes/configure_build.inc @@ -4,10 +4,10 @@ if [ "$INSTALLDIR" = "" ]; then mkdir -p $INSTALLDIR fi -# wxPython needs this option so that it can build extensions that store the +# wxPython needs this option so that it can build extensions that store the # right install_name (e.g. /usr/local/lib) even if the files aren't actually # in /usr/local/lib at the time they're being linked against -# we do this by setting the "official" prefix at build time, and later +# we do this by setting the "official" prefix at build time, and later if [ "$BUILDPREFIX" = "" ]; then BUILDPREFIX=$INSTALLDIR fi @@ -22,42 +22,36 @@ ANSI_OPTS="--enable-ansi" WXPYTHON_OPTS="--enable-monolithic \ --with-opengl \ --enable-sound \ + --enable-mediactrl \ --enable-display \ --enable-geometry \ --enable-debug_flag \ --enable-optimise \ --disable-debugreport " - - + + do_build(){ OPTS="" if [ "$WXPYTHON" == "1" ]; then OPTS="$WXPYTHON_OPTS" fi - + if [ "$DEBUG" == "1" ]; then OPTS="$OPTS $DEBUG_OPTS " fi - + if [ "$UNICODE" == "1" ]; then OPTS="$OPTS $UNICODE_OPTS " fi - - - + + + if [ "$STATIC" == "1" ]; then OPTS="$OPTS --enable-static" fi - + OPTS="$OPTS $OTHER_OPTS" - + $WXROOT/configure --prefix=$BUILDPREFIX $OPTS make - - # build the libs wxPython needs - if [ "$WXPYTHON" == "1" ]; then - make -C contrib/src/animate - make -C contrib/src/gizmos - make -C contrib/src/stc - fi -} \ No newline at end of file +}