Browse Source

* don't pass -blibpath parameter for %needlibrary tests on AIX: the linker
doesn't recognise it (even though it's documented) and it's not needed

git-svn-id: trunk@20822 -

Jonas Maebe 13 years ago
parent
commit
d68d9ba1a0
1 changed files with 2 additions and 3 deletions
  1. 2 3
      tests/utils/dotest.pp

+ 2 - 3
tests/utils/dotest.pp

@@ -857,10 +857,9 @@ begin
       { Add runtime library path to current dir to find .so files }
       { Add runtime library path to current dir to find .so files }
       if Config.NeedLibrary then
       if Config.NeedLibrary then
         begin
         begin
-          if CompilerTarget='darwin' then
+          if (CompilerTarget='darwin') or
+	     (CompilerTarget='aix') then
             args:=args+' -Fl'+TestOutputDir
             args:=args+' -Fl'+TestOutputDir
-	  else if CompilerTarget='aix' then
-	    args:=args+' -blibpath:'+TestOutputDir
 	  else
 	  else
           { do not use single quote for -k as they are mishandled on
           { do not use single quote for -k as they are mishandled on
             Windows Shells }
             Windows Shells }