From b0796517cb8981c54549f9e480f3511f7b1e043f Mon Sep 17 00:00:00 2001 From: Alex Corrado Date: Sat, 17 Dec 2011 03:19:04 -0500 Subject: [PATCH] Apply Miguel's patch to fix the build --- examples/Hello/Makefile.am | 2 +- examples/qt/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Hello/Makefile.am b/examples/Hello/Makefile.am index 69710c93..4a6dfb5a 100644 --- a/examples/Hello/Makefile.am +++ b/examples/Hello/Makefile.am @@ -28,7 +28,7 @@ generated: Hello.xml $(MONO) $(BUILD_DIR)/generator.exe -ns=Hello -lib=hello -o=$@ Hello.xml $(HELLO_EXE): generated Hello.cs - $(GMCS) -out:$@ -target:exe -r:$(INTEROP_DLL) generated/*.cs Hello.cs + $(GMCS) -unsafe -out:$@ -target:exe -r:$(INTEROP_DLL) generated/*.cs Hello.cs clean: $(RM) -r generated libhello.so Hello.xml $(HELLO_EXE) diff --git a/examples/qt/Makefile.am b/examples/qt/Makefile.am index a00b5a40..a7e9c071 100644 --- a/examples/qt/Makefile.am +++ b/examples/qt/Makefile.am @@ -1,4 +1,4 @@ -top_srcdir = .. +top_srcdir = ../.. INTEROP_DLL = \ $(top_srcdir)/bin/Debug/Mono.Cxxi.dll