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 05ee807 commit 6e79513Copy full SHA for 6e79513
Makefile
@@ -61,6 +61,12 @@ endif
61
ifneq ($(cputype), x86_64)
62
CONFIG_FLAGS += -DNO_X86=$(cputype)
63
endif
64
+ifeq ($(systype), Darwin)
65
+ sysroot = $(shell $(cc) -print-sysroot || echo not-set)
66
+ ifneq ($(sysroot), not-set)
67
+ CONFIG_FLAGS += -DCMAKE_OSX_SYSROOT=$(sysroot)
68
+ endif
69
+endif
70
ifneq ($(shared), not-set)
71
CONFIG_FLAGS += -DSHARED=1
72
0 commit comments