Alexandre Julliard : makefiles: Always link Unix libraries against ntdll.so.
Module: wine Branch: master Commit: 2781af45d574f05464d1059a54dfce299d836f0c URL: https://source.winehq.org/git/wine.git/?a=commit;h=2781af45d574f05464d1059a5... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Tue Aug 31 11:12:51 2021 +0200 makefiles: Always link Unix libraries against ntdll.so. Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> --- 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" ));
participants (1)
-
Alexandre Julliard