makefiles: Always link Unix libraries against ntdll.so.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2021-08-31 11:12:51 +02:00
parent 7b9617ef2f
commit 2781af45d5
1 changed files with 1 additions and 1 deletions

View File

@ -3365,7 +3365,7 @@ static void output_module( struct makefile *make )
if (native_unix_lib)
{
if (!strarray_exists( &make->extradllflags, "-nodefaultlibs" ))
if (strcmp( make->module, "ntdll.dll" ))
{
strarray_add( &unix_libs, "-lntdll" );
strarray_add( &unix_deps, obj_dir_path( top_makefile, "dlls/ntdll/ntdll.so" ));