mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 03:49:30 +02:00
Cocoa: fix linking issue when running the APP with Modern Form Style on macOS 11-
This commit is contained in:
parent
571a1a1290
commit
aff03f79b6
@ -83,7 +83,7 @@ if TargetOS='darwin' then begin
|
||||
+' -framework OpenGL'
|
||||
+' ''-dylib_file'' ''/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib''';
|
||||
end else if LCLWidgetType='cocoa' then
|
||||
UsageLinkerOptions := '-framework Cocoa -weak_framework UserNotifications';
|
||||
UsageLinkerOptions := '-weak_framework AppKit -weak_framework UserNotifications';
|
||||
end else if TargetOS='solaris' then begin
|
||||
UsageLibraryPath:='/usr/X11R6/lib';
|
||||
end;"/>
|
||||
|
Loading…
Reference in New Issue
Block a user