mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
winebuild: Don't set the IMAGE_FILE_DLL flag on native modules.
This commit is contained in:
parent
a5fb981ace
commit
b462c20876
1 changed files with 2 additions and 1 deletions
|
@ -594,7 +594,8 @@ int main(int argc, char **argv)
|
|||
switch(exec_mode)
|
||||
{
|
||||
case MODE_DLL:
|
||||
spec->characteristics |= IMAGE_FILE_DLL;
|
||||
if (spec->subsystem != IMAGE_SUBSYSTEM_NATIVE)
|
||||
spec->characteristics |= IMAGE_FILE_DLL;
|
||||
load_resources( argv, spec );
|
||||
load_import_libs( argv );
|
||||
if (!spec_file_name) fatal_error( "missing .spec file\n" );
|
||||
|
|
Loading…
Reference in a new issue