From 1542271b56fdb7cdb6585b556fbfb8766e835dc5 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Mon, 26 Sep 2022 10:07:00 -0400 Subject: [PATCH] fix: add missing libraries for compiling on M1 (#320) --- examples/c-bindings/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/c-bindings/Makefile b/examples/c-bindings/Makefile index 014495a6..295716f3 100644 --- a/examples/c-bindings/Makefile +++ b/examples/c-bindings/Makefile @@ -12,8 +12,8 @@ all: build ifeq ($(detected_OS),Linux) PLATFORM_FLAGS_TEST_C ?= -ldl -else ifeq ($(detected_OS),macOS) - PLATFORM_FLAGS_TEST_C ?= -Wl,-headerpad_max_install_names +else ifeq ($(detected_OS),Darwin) + PLATFORM_FLAGS_TEST_C ?= -Wl,-headerpad_max_install_names -framework CoreFoundation -framework Security endif build: