We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 31e454c commit 58417b3Copy full SHA for 58417b3
lldb/packages/Python/lldbsuite/test/functionalities/mtc/simple/Makefile
@@ -1,4 +1,9 @@
1
OBJC_SOURCES := main.m
2
-LD_EXTRAS := -lobjc -framework Foundation -framework AppKit
+ifeq ($(findstring MacOSX.platform,$(shell xcrun --show-sdk-path)),MacOSX.platform)
3
+UI_FRAMEWORK = AppKit
4
+else
5
+UI_FRAMEWORK = UIKit
6
+endif
7
+LD_EXTRAS = -lobjc -framework Foundation -framework $(UI_FRAMEWORK)
8
9
include Makefile.rules
0 commit comments