diff --git a/wxPython/distrib/mac/wxPythonOSX/build b/wxPython/distrib/mac/wxPythonOSX/build index 53404d8e2b..dacdd398e0 100755 --- a/wxPython/distrib/mac/wxPythonOSX/build +++ b/wxPython/distrib/mac/wxPythonOSX/build @@ -218,10 +218,15 @@ if [ $skipbuild != yes ]; then # Make wxWidgets and some contribs - # For some reason Rez and DeRez have started locking up if run as root... + # For some reason Rez and DeRez have started locking up if run as + # root, figure out why, but in the meantime... if [ "$UID" = "0" ]; then chmod a+w lib - su robind -c "make lib/libwx_macd-2.5.3.r" + if [ "$CHARTYPE" = "ansi" ]; then + su robind -c "make lib/libwx_macd-2.5.3.r" + else + su robind -c "make lib/libwx_macud-2.5.3.r" + fi fi make