* 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 -
This commit is contained in:
Jonas Maebe 2012-04-11 18:05:02 +00:00
parent 51616b7bd6
commit d68d9ba1a0

View File

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