Make.rules.in: Add --wine-seh to the widl options.

Dan Hipschman dsh at linux.ucla.edu
Fri Nov 9 18:07:45 CST 2007


Use the --wine-seh option to widl for Wine's proxies/stubs.  This requires
we link to ntdll for the exception handling routines.

---
 Make.rules.in                 |    2 +-
 dlls/rpcrt4/tests/Makefile.in |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Make.rules.in b/Make.rules.in
index 757fff5..3971ca7 100644
--- a/Make.rules.in
+++ b/Make.rules.in
@@ -56,7 +56,7 @@ INCLUDES     = -I$(SRCDIR) -I. -I$(TOPSRCDIR)/include -I$(TOPOBJDIR)/include $(E
 EXTRACFLAGS  = @EXTRACFLAGS@
 ALLCFLAGS    = $(INCLUDES) $(DEFS) $(DLLFLAGS) $(EXTRACFLAGS) $(CPPFLAGS) $(CFLAGS) $(MODCFLAGS)
 ALLLINTFLAGS = $(INCLUDES) $(DEFS) $(LINTFLAGS)
-IDLFLAGS     = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS)
+IDLFLAGS     = $(INCLUDES) $(DEFS) $(EXTRAIDLFLAGS) --wine-seh
 WINEBUILDFLAGS = $(DLLFLAGS) --as-cmd "$(AS)"
 MKINSTALLDIRS= $(TOPSRCDIR)/tools/mkinstalldirs -m 755
 WINAPI_CHECK = $(TOPSRCDIR)/tools/winapi/winapi_check
diff --git a/dlls/rpcrt4/tests/Makefile.in b/dlls/rpcrt4/tests/Makefile.in
index c497aa3..0bf8893 100644
--- a/dlls/rpcrt4/tests/Makefile.in
+++ b/dlls/rpcrt4/tests/Makefile.in
@@ -3,7 +3,7 @@ TOPOBJDIR = ../../..
 SRCDIR    = @srcdir@
 VPATH     = @srcdir@
 TESTDLL   = rpcrt4.dll
-IMPORTS   = ole32 rpcrt4 kernel32
+IMPORTS   = ole32 rpcrt4 kernel32 ntdll
 EXTRALIBS = -luuid
 EXTRAIDLFLAGS = --prefix-server=s_
 



More information about the wine-patches mailing list