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: