Browse Source

- disable automatic adding of "splitfilename(libname)" to to-be-linked
libraries for darwin (accidentally committed in previous commit)

git-svn-id: trunk@2595 -

Jonas Maebe 19 năm trước cách đây
mục cha
commit
23868147a6
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compiler/systems/t_bsd.pas

+ 2 - 2
compiler/systems/t_bsd.pas

@@ -98,14 +98,14 @@ implementation
     procedure timportlibdarwin.importprocedure(aprocdef:tprocdef;const module : string;index : longint;const name : string);
     procedure timportlibdarwin.importprocedure(aprocdef:tprocdef;const module : string;index : longint;const name : string);
       begin
       begin
         { insert sharedlibrary }
         { insert sharedlibrary }
-        current_module.linkothersharedlibs.add(SplitName(module),link_always);
+{        current_module.linkothersharedlibs.add(SplitName(module),link_always); }
       end;
       end;
 
 
 
 
     procedure timportlibdarwin.importvariable(vs:tglobalvarsym;const name,module:string);
     procedure timportlibdarwin.importvariable(vs:tglobalvarsym;const name,module:string);
       begin
       begin
         { insert sharedlibrary }
         { insert sharedlibrary }
-        current_module.linkothersharedlibs.add(SplitName(module),link_always);
+{        current_module.linkothersharedlibs.add(SplitName(module),link_always); }
         { the rest is handled in the nppcld.pas tppcloadnode }
         { the rest is handled in the nppcld.pas tppcloadnode }
         vs.set_mangledname(name);
         vs.set_mangledname(name);
       end;
       end;