winebuild: Don't use a dll entry point for Unix libraries.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2020-07-01 10:36:55 +02:00
parent 2cf256686e
commit e6632e0412
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ int main(int argc, char **argv)
case MODE_EXE:
load_resources( argv, spec );
if (spec_file_name && !parse_input_file( spec )) break;
if (!spec->init_func) spec->init_func = xstrdup( get_default_entry_point( spec ));
if (!spec->init_func && !unix_lib) spec->init_func = xstrdup( get_default_entry_point( spec ));
if (fake_module)
{