瀏覽代碼

- 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 年之前
父節點
當前提交
23868147a6
共有 1 個文件被更改,包括 2 次插入2 次删除
  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);
       begin
         { insert sharedlibrary }
-        current_module.linkothersharedlibs.add(SplitName(module),link_always);
+{        current_module.linkothersharedlibs.add(SplitName(module),link_always); }
       end;
 
 
     procedure timportlibdarwin.importvariable(vs:tglobalvarsym;const name,module:string);
       begin
         { 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 }
         vs.set_mangledname(name);
       end;