[cairo-commit] [cairo-www] src/end_to_end_build_for_win32.mdwn
Carl Worth
cworth at freedesktop.org
Mon Nov 2 23:54:31 PST 2009
src/end_to_end_build_for_win32.mdwn | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
New commits:
commit d15cff778773c47366f4e919c1bfa3e21d9a58c3
Author: travisgriggs <travisgriggs at web>
Date: Mon Nov 2 23:54:31 2009 -0800
diff --git a/src/end_to_end_build_for_win32.mdwn b/src/end_to_end_build_for_win32.mdwn
index 680d714..28e92ca 100644
--- a/src/end_to_end_build_for_win32.mdwn
+++ b/src/end_to_end_build_for_win32.mdwn
@@ -148,12 +148,20 @@ Before we proceed with building the final Cairo library, we have to add the resu
set INCLUDE=%INCLUDE%;%ROOTDIR%\cairo\boilerplate
set INCLUDE=%INCLUDE%;%ROOTDIR%\cairo\src
-
set LIB=%LIB%;%ROOTDIR%\zlib\projects\visualc71\Win32_LIB_Release\Zlib
set LIB=%LIB%;%ROOTDIR%\libpng\projects\visualc71\Win32_LIB_Release
### Build cairo
-In progress
+
+This is similiar to pixman. There's an additional edit we do to the Makefile (replacing zdll.lib with zlib.lib).
+
+ cd %ROOTDIR%\cairo
+ sed s/-MD/-MT/ build\Makefile.win32.common > build\Makefile.fixed
+ move /Y build\Makefile.fixed build\Makefile.win32.common
+ sed s/zdll.lib/zlib.lib/ build\Makefile.win32.common > build\Makefile.fixed
+ move /Y build\Makefile.fixed build\Makefile.win32.common
+
+ make -f Makefile.win32 "CFG=release
### Congratulations!
You've got a cairo.dll...
More information about the cairo-commit
mailing list