From 6202394d31607e9b85ccb341ed84111f85d787de Mon Sep 17 00:00:00 2001 From: Robert Pengelly Date: Fri, 9 May 2025 07:23:23 +0100 Subject: [PATCH] Use output name no implib name --- pe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pe.c b/pe.c index 647e899..577a735 100644 --- a/pe.c +++ b/pe.c @@ -755,12 +755,12 @@ struct symbol_info *create_symbol_list (struct export_name *export_name, unsigne struct symbol_info *symbol_info; unsigned long i, j; - char *name = xstrdup (output_implib_filename), *p; + char *name = xstrdup (state->output_filename), *p; - if ((p = strrchr (output_implib_filename, '.'))) { + if ((p = strrchr (state->output_filename, '.'))) { free (name); - name = xstrndup (output_implib_filename, p - output_implib_filename); + name = xstrndup (state->output_filename, p - state->output_filename); } -- 2.34.1