From dcf6a97d64c9514cae9ea9866bbd954ca0e2521c Mon Sep 17 00:00:00 2001 From: Sven/Sarah Barth Date: Fri, 11 Oct 2024 16:11:42 +0200 Subject: [PATCH] * partial fix #40934: enable def file generation if only -D is provided as argument (as the help suggests and which also makes sense if -Dd is not set as then a default description is used) --- compiler/options.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/compiler/options.pas b/compiler/options.pas index 7e9dc43c7f..f9dee6209d 100644 --- a/compiler/options.pas +++ b/compiler/options.pas @@ -2926,6 +2926,8 @@ var begin j:=1; + if length(more)=0 then + include(init_settings.globalswitches,cs_link_deffile); while j<=length(more) do begin case more[j] of