summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2013-09-04 12:28:15 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-09-04 12:28:15 -0700
commit9a7eaad65ff5f6bf5c7fda427bcc2b94f6ada598 (patch)
treee81115c0c556a4f5d4d72b61c20150bb2a0ba402 /Makefile
parentMerge branch 'nd/sq-quote-buf' (diff)
parentOS X: Fix redeclaration of die warning (diff)
downloadtgif-9a7eaad65ff5f6bf5c7fda427bcc2b94f6ada598.tar.xz
Merge branch 'da/darwin'
* da/darwin: OS X: Fix redeclaration of die warning Makefile: Fix APPLE_COMMON_CRYPTO with BLK_SHA1 imap-send: use Apple's Security framework for base64 encoding
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 3588ca1b6a..7051956333 100644
--- a/Makefile
+++ b/Makefile
@@ -1182,6 +1182,9 @@ ifdef NEEDS_SSL_WITH_CRYPTO
else
LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto
endif
+ifdef APPLE_COMMON_CRYPTO
+ LIB_4_CRYPTO += -framework Security -framework CoreFoundation
+endif
endif
ifdef NEEDS_LIBICONV
ifdef ICONVDIR