浏览代码

* set also library flag if smartlinking and outputname is different

peter 27 年之前
父节点
当前提交
38e8f2f2a6
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 6 2
      compiler/symppu.inc

+ 6 - 2
compiler/symppu.inc

@@ -176,7 +176,8 @@
        { create unit flags }
        { create unit flags }
          with Current_Module^ do
          with Current_Module^ do
           begin
           begin
-            if cs_create_staticlib in aktmoduleswitches then
+            if (cs_create_staticlib in aktmoduleswitches) or
+	       (cs_smartlink in aktmoduleswitches) then
              begin
              begin
                flags:=flags or uf_static_linked;
                flags:=flags or uf_static_linked;
                if SplitName(ppufilename^)<>SplitName(staticlibfilename^) then
                if SplitName(ppufilename^)<>SplitName(staticlibfilename^) then
@@ -447,7 +448,10 @@
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.25  1998-10-26 09:35:47  peter
+  Revision 1.26  1998-11-26 14:36:02  peter
+    * set also library flag if smartlinking and outputname is different
+
+  Revision 1.25  1998/10/26 09:35:47  peter
     * don't count includefiles which are found in the includepath for a
     * don't count includefiles which are found in the includepath for a
       recompile.
       recompile.