Author: zoltan
Date: 2005-03-11 13:29:38 -0500 (Fri, 11 Mar 2005)
New Revision: 41713

Modified:
   trunk/website/edit/shared/contributing/mono-build-w32.sh
Log:
Update this.


Modified: trunk/website/edit/shared/contributing/mono-build-w32.sh
===================================================================
--- trunk/website/edit/shared/contributing/mono-build-w32.sh    2005-03-11 
18:16:50 UTC (rev 41712)
+++ trunk/website/edit/shared/contributing/mono-build-w32.sh    2005-03-11 
18:29:38 UTC (rev 41713)
@@ -27,6 +27,12 @@
     exit -1
 fi
 
+# Check for wget
+if ! which wget > /dev/null 2>&1; then
+       echo "You need to install wget."
+       exit 1
+fi
+
 # Check mono out first, so we can run aclocal from inside the mono dir (it
 # needs to see which version of the real aclocal to run)
 echo "Updating mono"
@@ -123,6 +129,7 @@
 #
 ## But we still need to use the mingw libs for glib & co
 #ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
+ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
 
 #export PATH
 #export ACLOCAL_FLAGS
@@ -148,6 +155,10 @@
 
 install_icuconfig
 
+# Fix up glib headers
+grep -v 'define ftruncate' install/include/glib-2.0/glib/gwin32.h > tmp
+mv tmp install/include/glib-2.0/glib/gwin32.h
+
 if [ $install_pkgconfig = "no" ]; then
     echo "Fixing up the pkgconfig paths"
     for i in $here/install/lib/pkgconfig/*.pc

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to