Browse Source

* renamed tlibrary to tlibrary1 so it'll be compiled before tlibrary2

peter 22 years ago
parent
commit
405bc99c16
2 changed files with 3 additions and 2 deletions
  1. 0 0
      tests/test/tlibrary1.pp
  2. 3 2
      tests/test/tlibrary2.pp

+ 0 - 0
tests/test/tlibrary.pp → tests/test/tlibrary1.pp


+ 3 - 2
tests/test/tlibrary2.pp

@@ -1,3 +1,4 @@
+{ %OPT=-Fl. }
 { %NEEDLIBRARY }
 { %NEEDLIBRARY }
 
 
 { Test program to test linking to fpc library }
 { Test program to test linking to fpc library }
@@ -16,9 +17,9 @@
 
 
 const
 const
 {$ifdef win32}
 {$ifdef win32}
-  libname='tlibrary.dll';
+  libname='tlibrary1.dll';
 {$else}
 {$else}
-  libname='libtlibrary.so';
+  libname='libtlibrary1.so';
 {$endif}
 {$endif}
 
 
 procedure test;external libname name 'TestName';
 procedure test;external libname name 'TestName';