Commit b462c208 authored by Alexandre Julliard's avatar Alexandre Julliard

winebuild: Don't set the IMAGE_FILE_DLL flag on native modules.

parent a5fb981a
...@@ -594,6 +594,7 @@ int main(int argc, char **argv) ...@@ -594,6 +594,7 @@ int main(int argc, char **argv)
switch(exec_mode) switch(exec_mode)
{ {
case MODE_DLL: case MODE_DLL:
if (spec->subsystem != IMAGE_SUBSYSTEM_NATIVE)
spec->characteristics |= IMAGE_FILE_DLL; spec->characteristics |= IMAGE_FILE_DLL;
load_resources( argv, spec ); load_resources( argv, spec );
load_import_libs( argv ); load_import_libs( argv );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment