summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e4e11d1..c268e66 100644
--- a/Makefile
+++ b/Makefile
@@ -93,6 +93,9 @@ ifdef DEBUG
override OPTFLAGS := -O0 -g
endif
+ifeq ($(PLATFORM), OSX)
+ override LDCXXFLAGS += -framework IOKit -framework CoreFoundation
+endif
ifneq ($(ARCH),arm64)
ifneq ($(PLATFORM),OSX)
override LDCXXFLAGS += -fstack-protector -fstack-clash-protection