mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-30 12:00:57 +02:00
* explicitly link libobjc to prevent the symbol __objc_empty_cache from
resolving to CoreFoundation on macOS 10.14 (which will break running such programs on older macOS/(Mac) OS X versions) git-svn-id: trunk@41243 -
This commit is contained in:
parent
1c64f4c751
commit
3b87b10904
@ -3,6 +3,9 @@ unit objc;
|
||||
|
||||
{$ifdef darwin}
|
||||
{$define targethandled}
|
||||
|
||||
{$linklib objc}
|
||||
|
||||
{$if defined(iphonesim) or defined(cpuarm) or defined(cpux86_64) or defined(cpupowerpc64) or defined(cpuaarch64)}
|
||||
{$i objcnf.inc}
|
||||
{$endif}
|
||||
|
Loading…
Reference in New Issue
Block a user