Browse Source

+ Fixed gluing of options

michael 26 years ago
parent
commit
1865f22466
1 changed files with 5 additions and 2 deletions
  1. 5 2
      compiler/link.pas

+ 5 - 2
compiler/link.pas

@@ -320,7 +320,7 @@ begin
   If not SharedLibFiles.Empty then
   If not SharedLibFiles.Empty then
    LinkOptions:='-dynamic-linker='+DynamicLinker+' '+LinkOptions;
    LinkOptions:='-dynamic-linker='+DynamicLinker+' '+LinkOptions;
   if Strip and not(cs_debuginfo in aktmoduleswitches) then
   if Strip and not(cs_debuginfo in aktmoduleswitches) then
-   LinkOptions:=LinkOptions+target_link.stripopt;
+   LinkOptions:=LinkOptions+' '+target_link.stripopt;
 
 
 { Open linkresponse and write header }
 { Open linkresponse and write header }
   assign(linkresponse,current_module^.outpath^+LinkResName);
   assign(linkresponse,current_module^.outpath^+LinkResName);
@@ -552,7 +552,10 @@ end;
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.46  1999-02-05 08:54:26  pierre
+  Revision 1.47  1999-02-05 16:45:47  michael
+  + Fixed gluing of options
+
+  Revision 1.46  1999/02/05 08:54:26  pierre
     + linkofiles splitted inot linkofiles and linkunitfiles
     + linkofiles splitted inot linkofiles and linkunitfiles
       because linkofiles must be stored with directory
       because linkofiles must be stored with directory
       to enabled linking of different objects with same name
       to enabled linking of different objects with same name