winebuild: Don't set the IMAGE_FILE_DLL flag on native modules.
This commit is contained in:
parent
a5fb981ace
commit
b462c20876
|
@ -594,7 +594,8 @@ int main(int argc, char **argv)
|
||||||
switch(exec_mode)
|
switch(exec_mode)
|
||||||
{
|
{
|
||||||
case MODE_DLL:
|
case MODE_DLL:
|
||||||
spec->characteristics |= IMAGE_FILE_DLL;
|
if (spec->subsystem != IMAGE_SUBSYSTEM_NATIVE)
|
||||||
|
spec->characteristics |= IMAGE_FILE_DLL;
|
||||||
load_resources( argv, spec );
|
load_resources( argv, spec );
|
||||||
load_import_libs( argv );
|
load_import_libs( argv );
|
||||||
if (!spec_file_name) fatal_error( "missing .spec file\n" );
|
if (!spec_file_name) fatal_error( "missing .spec file\n" );
|
||||||
|
|
Loading…
Reference in New Issue