winebuild: Make the 32-bit side of a 16-bit module always a DLL.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d085e5ba72
commit
cee48cc789
|
@ -826,11 +826,7 @@ void add_16bit_exports( DLLSPEC *spec32, DLLSPEC *spec16 )
|
||||||
ORDDEF *odp;
|
ORDDEF *odp;
|
||||||
|
|
||||||
spec32->file_name = xstrdup( spec16->file_name );
|
spec32->file_name = xstrdup( spec16->file_name );
|
||||||
if (spec16->characteristics & IMAGE_FILE_DLL)
|
spec32->characteristics = IMAGE_FILE_DLL;
|
||||||
{
|
|
||||||
spec32->characteristics = IMAGE_FILE_DLL;
|
|
||||||
spec32->init_func = xstrdup( "DllMain" );
|
|
||||||
}
|
|
||||||
|
|
||||||
/* add an export for the NE module */
|
/* add an export for the NE module */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue