Kaynağa Gözat

* 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 ay önce
ebeveyn
işleme
dcf6a97d64
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  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