mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-26 07:51:48 +01:00
* don't pass -rpath for Darwin, its linker doesn't know that option
git-svn-id: trunk@1586 -
This commit is contained in:
parent
563821918b
commit
c02951be35
@ -498,7 +498,11 @@ begin
|
|||||||
{$ifdef unix}
|
{$ifdef unix}
|
||||||
{ 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
|
||||||
|
{$ifndef darwin}
|
||||||
args:=args+' -Fl'+TestOutputDir+' ''-k-rpath .''';
|
args:=args+' -Fl'+TestOutputDir+' ''-k-rpath .''';
|
||||||
|
{$else darwin}
|
||||||
|
args:=args+' -Fl'+TestOutputDir;
|
||||||
|
{$endif darwin}
|
||||||
{$endif unix}
|
{$endif unix}
|
||||||
if Config.NeedOptions<>'' then
|
if Config.NeedOptions<>'' then
|
||||||
args:=args+' '+Config.NeedOptions;
|
args:=args+' '+Config.NeedOptions;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user