mirror of
https://github.com/doublecmd/doublecmd.git
synced 2026-06-28 10:02:14 +00:00
ADD: Homebrew libraries path to run-time libraries search path (issue #227)
(cherry picked from commit b6621eeb75)
This commit is contained in:
parent
2574f7a3c5
commit
99ded957ee
1 changed files with 10 additions and 0 deletions
|
|
@ -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 = 'linux') then
|
||||
begin
|
||||
LinkerOptions += ' -z relro --as-needed';
|
||||
end;
|
||||
|
||||
if (TargetOS = 'darwin') and (TargetCPU = 'aarch64') then
|
||||
begin
|
||||
LinkerOptions += ' -rpath /opt/homebrew/lib';
|
||||
end;"/>
|
||||
<Parsing>
|
||||
<SyntaxOptions>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue