Browse Source

* 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)

Sven/Sarah Barth 9 months ago
parent
commit
dcf6a97d64
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/options.pas

+ 2 - 0
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