mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-18 05:00:07 +02:00
* set DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH on Darwin
git-svn-id: trunk@29586 -
This commit is contained in:
parent
16183bebfe
commit
ff25f5c923
@ -1405,9 +1405,15 @@ begin
|
||||
if Config.NeedLibrary then
|
||||
begin
|
||||
if RemoteShellNeedsExport then
|
||||
execcmd:=execcmd+' LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH;'
|
||||
if CompilerTarget='darwin' then
|
||||
execcmd:=execcmd+' DYLD_LIBRARY_PATH=.; export DYLD_LIBRARY_PATH;'
|
||||
else
|
||||
execcmd:=execcmd+' LD_LIBRARY_PATH=.; export LD_LIBRARY_PATH;'
|
||||
else
|
||||
execcmd:=execcmd+' setenv LD_LIBRARY_PATH=.; ';
|
||||
if CompilerTarget='darwin' then
|
||||
execcmd:=execcmd+' setenv DYLD_LIBRARY_PATH=.; '
|
||||
else
|
||||
execcmd:=execcmd+' setenv LD_LIBRARY_PATH=.; '
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user