Add PE linker flag to remove stdcall decorations from exported symbols

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

Changelog:
    Add PE linker flag to remove stdcall decorations from exported symbols.

diff -u cvs/hq/wine/dlls/Makedll.rules.in wine/dlls/Makedll.rules.in
--- cvs/hq/wine/dlls/Makedll.rules.in	Sun Dec 15 04:18:12 2002
+++ wine/dlls/Makedll.rules.in	Sun Dec 15 05:04:38 2002
@@ -43,7 +43,7 @@
 # Rules for .dll files
 
 $(MODULE): $(RCOBJS) $(OBJS) $(MODULE).dbg.o $(SPEC_DEF) $(IMPORTLIBS) Makefile.in
-	$(DLLWRAP) -k --def $(SPEC_DEF) -o $@ $(RCOBJS) $(OBJS) $(MODULE).dbg.o $(DLLMAIN:%=--entry %) -L$(DLLDIR) $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(ALL_LIBS)
+	$(DLLWRAP) --def $(SPEC_DEF) $(DLLWRAPFLAGS) -o $@ $(RCOBJS) $(OBJS) $(MODULE).dbg.o $(DLLMAIN:%=--entry %) -L$(DLLDIR) $(DELAYIMPORTS:%=-l%) $(IMPORTS:%=-l%) $(ALL_LIBS)
 
 $(SPEC_DEF): $(WINEBUILD)
 
diff -u cvs/hq/wine/library/Makefile.in wine/library/Makefile.in
--- cvs/hq/wine/library/Makefile.in	Mon Aug 05 03:22:04 2002
+++ wine/library/Makefile.in	Sun Dec 15 05:05:10 2002
@@ -33,7 +33,7 @@
 	$(RANLIB) $@
 
 libwine.dll: $(OBJS)
-	$(DLLWRAP) $(DLLWRAPFLAGS) --export-all --implib libwine.a -o libwine.dll $(OBJS) $(EXTRALIBS)
+	$(DLLWRAP) --export-all --implib libwine.a -o libwine.dll $(OBJS) $(EXTRALIBS)
 
 .PHONY: install_so install_a install_dll
 
diff -u cvs/hq/wine/Make.rules.in wine/Make.rules.in
--- cvs/hq/wine/Make.rules.in	Fri Dec 13 06:12:34 2002
+++ wine/Make.rules.in	Sun Dec 15 05:05:46 2002
@@ -39,7 +39,7 @@
 LDSHARED  = @LDSHARED@
 DLLTOOL   = @DLLTOOL@
 DLLWRAP   = @DLLWRAP@
-DLLWRAPFLAGS = --add-stdcall-alias
+DLLWRAPFLAGS = -k -Wl,--kill-at
 AR        = @AR@ rc
 RANLIB    = @RANLIB@
 STRIP     = @STRIP@
diff -u cvs/hq/wine/unicode/Makefile.in wine/unicode/Makefile.in
--- cvs/hq/wine/unicode/Makefile.in	Wed Oct 02 02:51:18 2002
+++ wine/unicode/Makefile.in	Sun Dec 15 05:06:14 2002
@@ -98,7 +98,7 @@
 
 # --export-all doesn't work correctly because of dllwrap's bug
 libwine_unicode.dll: $(OBJS) wine_unicode.def
-	$(DLLWRAP) $(DLLWRAPFLAGS) --def $(SRCDIR)/wine_unicode.def --implib libwine_unicode.a -o libwine_unicode.dll $(OBJS)
+	$(DLLWRAP) --def $(SRCDIR)/wine_unicode.def --implib libwine_unicode.a -o libwine_unicode.dll $(OBJS)
 
 .PHONY: install_so install_a install_dll
 






[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux