浏览代码

* don't pass -rpath for Darwin, its linker doesn't know that option

git-svn-id: trunk@1586 -
Jonas Maebe 20 年之前
父节点
当前提交
c02951be35
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      tests/utils/dotest.pp

+ 4 - 0
tests/utils/dotest.pp

@@ -498,7 +498,11 @@ begin
 {$ifdef unix}
   { Add runtime library path to current dir to find .so files }
   if Config.NeedLibrary then
+{$ifndef darwin}
    args:=args+' -Fl'+TestOutputDir+' ''-k-rpath .''';
+{$else darwin}
+   args:=args+' -Fl'+TestOutputDir;
+{$endif darwin}
 {$endif unix}
   if Config.NeedOptions<>'' then
    args:=args+' '+Config.NeedOptions;