Browse Source

- disabled automatic adding of libraries from "external lib name 'xxx'"
for now (until we have proper framework support)

Jonas Maebe 21 years ago
parent
commit
9b6e79e4f1
1 changed files with 7 additions and 3 deletions
  1. 7 3
      compiler/systems/t_bsd.pas

+ 7 - 3
compiler/systems/t_bsd.pas

@@ -97,7 +97,7 @@ 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_allways);
+{        current_module.linkothersharedlibs.add(SplitName(module),link_allways); }
         { force the mangledname }
         { force the mangledname }
         if assigned(aprocdef) then
         if assigned(aprocdef) then
           begin
           begin
@@ -112,7 +112,7 @@ implementation
     procedure timportlibdarwin.importvariable(vs:tvarsym;const name,module:string);
     procedure timportlibdarwin.importvariable(vs:tvarsym;const name,module:string);
       begin
       begin
         { insert sharedlibrary }
         { insert sharedlibrary }
-        current_module.linkothersharedlibs.add(SplitName(module),link_allways);
+{        current_module.linkothersharedlibs.add(SplitName(module),link_allways); }
         { 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;
@@ -618,7 +618,11 @@ initialization
 end.
 end.
 {
 {
   $Log$
   $Log$
-  Revision 1.15  2004-05-31 18:08:41  jonas
+  Revision 1.16  2004-06-02 07:03:49  jonas
+    - disabled automatic adding of libraries from "external lib name 'xxx'"
+      for now (until we have proper framework support)
+
+  Revision 1.15  2004/05/31 18:08:41  jonas
     * changed calling of external procedures to be the same as under gcc
     * changed calling of external procedures to be the same as under gcc
       (don't worry about all the generated stubs, they're optimized away
       (don't worry about all the generated stubs, they're optimized away
        by the linker)
        by the linker)