Skip to content

Commit ed99ffd

Browse files
committed
git: allow to set NO_APPLE_COMMON_CRYPTO=1
This fixes a build failure on OS X 10.10. Unfortunately, this disabled https access, so it is only enabled if 'disable_crypto' parameter is 'true'.
1 parent e11ea81 commit ed99ffd

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pkgs/git.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ sources:
1010
defaults:
1111
# /bin/git contains hard-coded path
1212
relocatable: false
13+
disable_crypto: false
1314

1415
build_stages:
1516

@@ -19,6 +20,13 @@ build_stages:
1920
bash: |
2021
export PERL_PATH="/usr/bin/env perl"
2122
23+
- when: platform == 'Darwin' and disable_crypto
24+
name: fix_crypto_compile_failure
25+
before: configure
26+
handler: bash
27+
bash: |
28+
export NO_APPLE_COMMON_CRYPTO=1
29+
2230
- name: configure
2331
mode: override
2432
extra: ['--with-libpcre=${PCRE_DIR}', '--with-zlib=${ZLIB_DIR}', '--with-iconv=${LIBICONV_DIR}', '--with-expat=${EXPAT_DIR}', '--with-curl=${CURL_DIR}']

0 commit comments

Comments
 (0)