mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-01 11:59:40 +01:00
Cocoa: fix linking issue when running the APP with Modern Form Style on macOS 11-
This commit is contained in:
parent
aff03f79b6
commit
7f4c1557a6
@ -389,7 +389,7 @@ DBG_OPTIONS=-gw
|
||||
endif
|
||||
LAZARUS_OPT=$(LAZARUS_LIBPATHS)
|
||||
ifeq ($(LCL_PLATFORM),cocoa)
|
||||
LAZARUS_OPT+=-k-framework -kCocoa -k-weak_framework -kUserNotifications
|
||||
LAZARUS_OPT+=-k-weak_framework -kAppKit -k-weak_framework -kUserNotifications
|
||||
endif
|
||||
DEFAULT_IDE_OPTIONS= \
|
||||
-Fu../packager/units/$(CPU_TARGET)-$(OS_TARGET) \
|
||||
|
||||
@ -81,7 +81,7 @@ endif
|
||||
#
|
||||
LAZARUS_OPT=$(LAZARUS_LIBPATHS)
|
||||
ifeq ($(LCL_PLATFORM),cocoa)
|
||||
LAZARUS_OPT+=-k-framework -kCocoa -k-weak_framework -kUserNotifications
|
||||
LAZARUS_OPT+=-k-weak_framework -kAppKit -k-weak_framework -kUserNotifications
|
||||
endif
|
||||
|
||||
#
|
||||
|
||||
Loading…
Reference in New Issue
Block a user