Browse Source

* Forgot to dereference a pointer.

daniel 27 years ago
parent
commit
8b972b7b6a
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/link.pas

+ 5 - 2
compiler/link.pas

@@ -462,7 +462,7 @@ begin
      aktglobalswitches:=aktglobalswitches+[cs_link_extern];
      aktglobalswitches:=aktglobalswitches+[cs_link_extern];
    end;
    end;
   s:=target_ar.arcmd;
   s:=target_ar.arcmd;
-  Replace(s,'$LIB',current_module^.path+current_module^.staticlibfilename^);
+  Replace(s,'$LIB',current_module^.path^+current_module^.staticlibfilename^);
   if filescnt=0 then
   if filescnt=0 then
    Replace(s,'$FILES',current_module^.objfilename^)
    Replace(s,'$FILES',current_module^.objfilename^)
   else
   else
@@ -499,7 +499,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.31  1998-10-14 11:01:21  daniel
+  Revision 1.32  1998-10-14 11:03:55  daniel
+  * Forgot to dereference a pointer.
+
+  Revision 1.31  1998/10/14 11:01:21  daniel
   * Staticlibfilename no longer not include a path. Correction when calling
   * Staticlibfilename no longer not include a path. Correction when calling
   ar.
   ar.