From 0a98a131e2d0807a9b0be062a576b9cf928456a1 Mon Sep 17 00:00:00 2001 From: Anshul Gupta Date: Wed, 18 Oct 2023 17:06:14 -0700 Subject: Dynamically loads macOS frameworks when needed Uses dlopen & dlsym to load CoreFoundation & Security Frameworks only when necessary (when first retrieving the default CA store). --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fd7e93867..16fbbfb4f 100644 --- a/Makefile +++ b/Makefile @@ -424,8 +424,7 @@ ifeq ($(OS_NAME), darwin) SYMBOLS=-exported_symbols_list $(realpath src/symbols.txt) PLATFORM_LINKER_FLAGS += -DDU_DISABLE_RENAMING=1 \ -lstdc++ \ - -fno-keep-static-consts -lresolv \ - -framework Security -framework CoreFoundation + -fno-keep-static-consts -lresolv endif ifeq ($(OS_NAME),linux) -- cgit v1.2.3