[cairo-commit] src/Makefile.win32

Jeff Muizelaar jrmuizel at kemper.freedesktop.org
Thu Feb 26 13:07:38 PST 2009


 src/Makefile.win32 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 102ddd37bb329d41241f434ede0f9cba8424e71e
Author: Jeff Muizelaar <jmuizelaar at mozilla.com>
Date:   Thu Feb 26 16:04:49 2009 -0500

    [win32] Include $(OPT) flags when linking cairo.dll
    
    This will pass in -Zi which causes the /DEBUG flag to be passed to the
    linker keeping the debug information from being discarded during link.

diff --git a/src/Makefile.win32 b/src/Makefile.win32
index ee58929..6fdc395 100644
--- a/src/Makefile.win32
+++ b/src/Makefile.win32
@@ -13,7 +13,7 @@ static: inform $(CFG)/cairo-static.lib
 dynamic: inform $(CFG)/cairo.dll
 
 $(CFG)/cairo.dll: $(OBJECTS)
-	$(CC) $(MS_MDFLAGS) $(MS_LDFLAGS) -Fe$@ $(PIXMAN_LIBS) $(OBJECTS) -link $(CAIRO_LIBS)
+	$(CC) $(OPT) $(MS_MDFLAGS) $(MS_LDFLAGS) -Fe$@ $(PIXMAN_LIBS) $(OBJECTS) -link $(CAIRO_LIBS)
 
 $(CFG)/cairo-static.lib: $(OBJECTS_STATIC)
 	lib -NOLOGO -OUT:$@ $(PIXMAN_LIBS) $(OBJECTS_STATIC)


More information about the cairo-commit mailing list