From 2781af45d574f05464d1059a54dfce299d836f0c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 31 Aug 2021 11:12:51 +0200 Subject: [PATCH] makefiles: Always link Unix libraries against ntdll.so. Signed-off-by: Alexandre Julliard --- tools/makedep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/makedep.c b/tools/makedep.c index 43141a472fa..59857762edd 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -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" ));