Signed-off-by: Zebediah Figura z.figura12@gmail.com --- tools/makedep.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/tools/makedep.c b/tools/makedep.c index c9ab24d..e1a3647 100644 --- a/tools/makedep.c +++ b/tools/makedep.c @@ -2858,6 +2858,8 @@ static void output_source_spec( struct makefile *make, struct incl_file *source,
if (crosstarget) { + struct strarray crossdllflags = get_expanded_file_local_var( make, obj, "CROSSDLLFLAGS" ); + dep_libs = empty_strarray; all_libs = add_import_libs( make, &dep_libs, imports, 1 ); add_import_libs( make, &dep_libs, get_default_imports( make ), 1 ); /* dependencies only */ @@ -2880,6 +2882,7 @@ static void output_source_spec( struct makefile *make, struct incl_file *source, output_filename( strmake( "-B%s", tools_dir_path( make, "winebuild" ))); if (tools_dir) output_filename( strmake( "--sysroot=%s", top_obj_dir_path( make, "" ))); output_filename( "--lib-suffix=.cross.a" ); + output_filenames( crossdllflags ); output_filename( "-shared" ); output_filename( source->filename ); output_filename( strmake( "%s.cross.o", obj_dir_path( make, obj )));