aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Anshul Gupta <ansg191@anshulg.com> 2023-10-18 17:06:14 -0700
committerGravatar Anshul Gupta <ansg191@anshulg.com> 2023-10-18 17:10:00 -0700
commit0a98a131e2d0807a9b0be062a576b9cf928456a1 (patch)
tree5e4c826bd62f92d4999f2e1331bf3c9a8a81207b /Makefile
parentc221b45d4a3f003f5f62405bcf2d81880d6173cb (diff)
downloadbun-main.tar.gz
bun-main.tar.zst
bun-main.zip
Dynamically loads macOS frameworks when neededHEADmain
Uses dlopen & dlsym to load CoreFoundation & Security Frameworks only when necessary (when first retrieving the default CA store).
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
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)