From: Robin Dunn <robin@alldunn.com>
Date: Fri, 22 Oct 2004 15:20:51 +0000 (+0000)
Subject: A unicode hack for the Rez/Derez hack
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/851067d0f2ad84681be7e1d701c8aa22d077a47c

A unicode hack for the Rez/Derez hack


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

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