ADD: Homebrew libraries path to run-time libraries search path (issue #227)

(cherry picked from commit b6621eeb75)
This commit is contained in:
Alexander Koblov 2024-05-02 20:13:35 +03:00
commit 99ded957ee

View file

@ -52,6 +52,11 @@ end;
if (TargetOS = 'darwin') then
begin
LinkerOptions += ' -no_order_inits';
end;
if (TargetOS = 'darwin') and (TargetCPU = 'aarch64') then
begin
LinkerOptions += ' -rpath /opt/homebrew/lib';
end;"/>
<Parsing>
<SyntaxOptions>
@ -152,6 +157,11 @@ end;
if (TargetOS = &apos;linux&apos;) then
begin
LinkerOptions += &apos; -z relro --as-needed&apos;;
end;
if (TargetOS = &apos;darwin&apos;) and (TargetCPU = &apos;aarch64&apos;) then
begin
LinkerOptions += &apos; -rpath /opt/homebrew/lib&apos;;
end;"/>
<Parsing>
<SyntaxOptions>