mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 02:10:44 +01:00
* pass "-syslibroot sysrootpath" to the darwin linker if -XRsysrootpath
is used (mantis #9953) git-svn-id: trunk@8833 -
This commit is contained in:
parent
091e563e77
commit
3155b650a1
@ -375,6 +375,13 @@ begin
|
||||
{ Open link.res file }
|
||||
LinkRes:=TLinkRes.Create(outputexedir+Info.ResName);
|
||||
|
||||
if (target_info.system in systems_darwin) and
|
||||
(sysrootpath<>'') then
|
||||
begin
|
||||
LinkRes.Add('-syslibroot');
|
||||
LinkRes.Add(sysrootpath);
|
||||
end;
|
||||
|
||||
if (not isdll) or
|
||||
(apptype=app_bundle) then
|
||||
begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user