=?UTF-8?Q?Michael=20M=C3=BCller=20?=: winebuild: Set a valid major and minor linker version.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jun 10 10:09:18 CDT 2015
Module: wine
Branch: master
Commit: 6b4ac9971af18d9851b62b05f3b0d095a2dbc655
URL: http://source.winehq.org/git/wine.git/?a=commit;h=6b4ac9971af18d9851b62b05f3b0d095a2dbc655
Author: Michael Müller <michael at fds-team.de>
Date: Thu Aug 21 05:57:24 2014 +0200
winebuild: Set a valid major and minor linker version.
Some apps expect a nonzero linker version.
---
tools/winebuild/spec32.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/winebuild/spec32.c b/tools/winebuild/spec32.c
index c27f0dd..cb56abe 100644
--- a/tools/winebuild/spec32.c
+++ b/tools/winebuild/spec32.c
@@ -529,8 +529,8 @@ void output_module( DLLSPEC *spec )
spec->characteristics );
output( "\t.short 0x%04x\n", /* Magic */
get_ptr_size() == 8 ? IMAGE_NT_OPTIONAL_HDR64_MAGIC : IMAGE_NT_OPTIONAL_HDR32_MAGIC );
- output( "\t.byte 0\n" ); /* MajorLinkerVersion */
- output( "\t.byte 0\n" ); /* MinorLinkerVersion */
+ output( "\t.byte 7\n" ); /* MajorLinkerVersion */
+ output( "\t.byte 10\n" ); /* MinorLinkerVersion */
output( "\t.long 0\n" ); /* SizeOfCode */
output( "\t.long 0\n" ); /* SizeOfInitializedData */
output( "\t.long 0\n" ); /* SizeOfUninitializedData */
@@ -710,8 +710,8 @@ void output_fake_module( DLLSPEC *spec )
put_word( get_ptr_size() == 8 ?
IMAGE_NT_OPTIONAL_HDR64_MAGIC :
IMAGE_NT_OPTIONAL_HDR32_MAGIC ); /* Magic */
- put_byte( 0 ); /* MajorLinkerVersion */
- put_byte( 0 ); /* MinorLinkerVersion */
+ put_byte( 7 ); /* MajorLinkerVersion */
+ put_byte( 10 ); /* MinorLinkerVersion */
put_dword( text_size ); /* SizeOfCode */
put_dword( 0 ); /* SizeOfInitializedData */
put_dword( 0 ); /* SizeOfUninitializedData */
More information about the wine-cvs
mailing list